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] Make test_essential_features more resilient #6558

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

gmarciani
Copy link
Contributor

Description of changes

Make test_essential_features more resilient by accepting the legit scenario where logs, such as compute_console_output.log, may not have new content from compute nodes after rotation.

for those files that we know do not necessarily trigger new entries, we touch the log file after rotation to make sure later checks can be performed.

Without this change the test intermittently fails when the log compute_console_output.log does not exist after a log rotation. However, this is not a failing scenario: compute_console_output.log may be empty if there are no new logs from compute nodes. This may happen if the job submission reuses an existing compute node.

Tests

  • [ONGOING] Integ test test_essential_features

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

by accepting the legit scenario where logs, such as compute_console_output.log,
may not have new content from compute nodes after rotation.

Signed-off-by: Giacomo Marciani <[email protected]>
@gmarciani gmarciani requested review from a team as code owners November 11, 2024 14:10
@gmarciani gmarciani added skip-changelog-update Disables the check that enforces changelog updates in PRs 3.x Test labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x skip-changelog-update Disables the check that enforces changelog updates in PRs Test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant