-
Notifications
You must be signed in to change notification settings - Fork 74
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
HJ-294 - Fix Safe-Tests(ctl-not-external) on CI is timing out #5568
Changes from all commits
b9590d7
9aced45
1be3c77
28da656
70fe098
b1017d8
a75b755
e0eca4d
0694b59
a688a6f
e71021c
6cae869
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,13 +145,16 @@ def test_parse(test_config_path: str, test_cli_runner: CliRunner) -> None: | |
|
||
|
||
class TestDB: | ||
@pytest.mark.skip( | ||
"This test is timing out only in CI: Safe-Tests (3.10.13, ctl-not-external)" | ||
) | ||
@pytest.mark.integration | ||
def test_reset_db(self, test_config_path: str, test_cli_runner: CliRunner) -> None: | ||
result = test_cli_runner.invoke( | ||
cli, ["-f", test_config_path, "db", "reset", "-y"] | ||
) | ||
print(result.output) | ||
assert result.exit_code == 0 | ||
assert result.exit_code == 0, result.output | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this asserting exactly? Can we make this a separate There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is checking for the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah I see, thanks for clarifying! |
||
|
||
@pytest.mark.integration | ||
def test_init_db(self, test_config_path: str, test_cli_runner: CliRunner) -> None: | ||
|
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.
@eastandwestwind here I added the skip, now the CI is green.
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.
Follow up ticket https://ethyca.atlassian.net/browse/HJ-317