Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added config testing (odyssey --test) #537

Merged
merged 16 commits into from
Nov 10, 2023

Conversation

NikitaUnisikhin
Copy link
Collaborator

No description provided.

@NikitaUnisikhin NikitaUnisikhin force-pushed the od_conf_validation branch 2 times, most recently from 688d2a2 to 38599b8 Compare October 31, 2023 11:49

log_format "%p %t %l [%i %s] (%c) %m\n"

listen {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe configs without any rules should not be valid, as they are not usable?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -117,6 +117,7 @@ database "postgres" {
auth_query_db "postgres"
storage_password "passwd"

storage "postgres_server"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

.DS_Store Outdated Show resolved Hide resolved
.DS_Store Outdated Show resolved Hide resolved
@reshke reshke merged commit 9a42394 into yandex:master Nov 10, 2023
1 check failed
NikitaUnisikhin added a commit to NikitaUnisikhin/odyssey that referenced this pull request Nov 20, 2023
* added configuration testing (odyssey --test)

* fixes

* fix names

* fix names

* apply fmt

* start create tests

* rebuild

* tests done

* --test no longer forks the process

* config without rules is no longer valid

* fix tests

* fix storage_type tests

* fix storage_tls tests

* fix config-examples/odyssey-aq.conf

* change .gitignore

* rm .DS_Store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants