-
Notifications
You must be signed in to change notification settings - Fork 38
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
Test for -c option check if port is changed #680
Conversation
ec4c7a9
to
bcd110b
Compare
tests/tests/tier0/bluechi-change-port-with-c-cmd-option/config-files/agent_port_8421.conf
Outdated
Show resolved
Hide resolved
tests/tests/tier0/bluechi-change-port-with-c-cmd-option/config-files/ctrl_port_8421.conf
Outdated
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Show resolved
Hide resolved
4805b3d
to
7efc324
Compare
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
12a147e
to
832681e
Compare
Adding my thoughts how the test should look like:
|
37529c3
to
81e49d4
Compare
tests/tests/tier0/bluechi-change-port-with-c-cmd-option/config-files/agent_port_8421.conf
Outdated
Show resolved
Hide resolved
tests/tests/tier0/bluechi-change-port-with-c-cmd-option/config-files/ctrl_port_8421.conf
Outdated
Show resolved
Hide resolved
tests/tests/tier0/bluechi-change-port-with-c-cmd-option/main.fmf
Outdated
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
81e49d4
to
d011814
Compare
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
de0f947
to
7627413
Compare
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
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.
LGTM
/packit retest-failed |
c857275
to
f486a40
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.
Checking for controller/agent process in lsof output is better than original solution with checking lsof return code 👍
...ts/tier0/bluechi-change-port-with-c-cmd-option/test_bluechi_change_port_with_c_cmd_option.py
Outdated
Show resolved
Hide resolved
f486a40
to
bfcb467
Compare
Added an option to add open ports for spawned containers. And also added a test to check if conf file change with -c option will change the ports for agent and ctrl. Related-to: eclipse-bluechi#668 Signed-off-by: Artiom Divak <adivak@redhat.com>
bfcb467
to
efd1943
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.
LGTM
Added an option to add open ports for spawned containers. And also added a test to check if conf file change with -c option will change the ports for agent and ctrl.
Related-to: #668