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

[test] Fix non existen report directory test #3250

Merged

Conversation

csordasmarton
Copy link
Contributor

This problem comes from this PR: #3240

The test_non_existent_reports_directory test assumes that on the default
url (localhost:8001) doesn't run any server. Unfortunately for me a
CodeChecker server was started on this port and this test cases is failed
because the connection between the client and server was successfully
created. To solve this problem we should get a free port on the host
and we need to try to connect to this server. So this test case will
always pass.

The `test_non_existent_reports_directory` test assumes that on the default
url (localhost:8001) doesn't run any server. Unfortunately for me a
CodeChecker server was started on this port and this test cases is failed
because the connection between the client and server was successfully
created. To solve this problem we should get a free port on the host
and we need to try to connect to this server. So this test case will
always pass.
@csordasmarton csordasmarton added bugfix 🔨 test ☑️ Adding or refactoring tests labels Mar 30, 2021
@csordasmarton csordasmarton added this to the release 6.16.0 milestone Mar 30, 2021
@csordasmarton csordasmarton requested review from bruntib and zomen2 March 30, 2021 14:23
@csordasmarton csordasmarton merged commit b7619c5 into Ericsson:master Mar 31, 2021
@csordasmarton csordasmarton deleted the fix_non_existen_dir_test branch January 28, 2022 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix 🔨 test ☑️ Adding or refactoring tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants