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 automation for NTP options test scenarios #2404
Conversation
varunmylaraiah
commented
Sep 27, 2018
•
edited
edited
Hi @varunmylaraiah |
61cdeb1
to
55967ca
Compare
assert "%s" % ntp_pool in cmd.stdout_text | ||
tasks.uninstall_master(self.master) | ||
|
||
def test_server_install_with_multiple_ntp_server(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: typo, s/potion/option
Did you want to add this to nightly_rawhide.yaml as well? Do you plan on negative testing as well? Things like:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @varunmylaraiah
Can you fix the test definition? The small error has crashed PRCI. Thanks
test_suite: test_integration/test_ntp_replacement.py::TestNTPreplacement | ||
template: *ci-master-f28 | ||
timeout: 7200 | ||
topology: master_1repl_1client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be topology: *master_1repl_1client
test_suite: test_integration/test_ntp_replacement.py::TestNTPreplacement | ||
template: *ci-master-f28 | ||
timeout: 7200 | ||
topology: master_1repl_1client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be topology: *master_1repl_1client
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
I am setting the postponed label so that this PR does not get picked by PRCI and does not crash the prci process. You can remove the label as soon as the test definition is fixed. |
Thank you for the Review, |
Thanks, Flo, Will fix the issue. |
55967ca
to
c6842b9
Compare
23f5b02
to
6ffab80
Compare
6ffab80
to
4bb2a9c
Compare
62ae309
to
6f7b703
Compare
6f7b703
to
3d95f9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @varunmylaraiah,
What looks very bad to me is long method names (i did not looked at it before so, sorry).
In fact names of methods could be shorter and doc string will tell us what they are meant to do.
In this case, please see also some doc string suggestions.
Thanks for patience!
3d95f9b
to
2ead00f
Compare
The following tests are added in test_ntp_options.py :: TestNTPoptions - test_server_and_client_install_without_option_n - test_server_and_client_install_with_option_n - test_server_and_client_install_with_multiple_ntp_server - test_server_replica_and_client_install_with_ntp_pool_and_ntp_server - test_server_and_client_install_with_mixed_options - test_two_step_replica_install_using_ntp_options - test_two_step_replica_install_without_ntp_options Details in the ticket: https://pagure.io/freeipa/issue/7719 and https://pagure.io/freeipa/issue/7723 Signed-off-by: Varun Mylaraiah <mvarun@redhat.com>
Added test_integration/test_ntp_options.py Signed-off-by: Varun Mylaraiah <mavrun@redhat.com>
Added test_integration/test_ntp_options.py Signed-off-by: Varun Mylaraiah <mvarun@redhat.com>
2ead00f
to
1b750a5
Compare
Could you please remove Temp commit? |
1b750a5
to
87bba22
Compare