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

fix: wrongly printing timedout emoji on test failures #2546

Merged
merged 6 commits into from
Feb 6, 2024

Conversation

kostasrim
Copy link
Contributor

  • fix wrongly printing timedout emoji on non timedout test failures
  • add pytest-timeout as dependency in tests/dragonfly/requirements

@kostasrim kostasrim self-assigned this Feb 5, 2024
@@ -73,11 +87,11 @@ runs:
TIMEDOUT_STEP_1: ${{ steps.first.outputs.TIMEDOUT }}
TIMEDOUT_STEP_2: ${{ steps.second.outputs.TIMEDOUT }}
run: |
if [[ "${{ env.TIMEDOUT_STEP_1 }}" -eq 1 ]] || [[ "${{ env.TIMEDOUT_STEP_2 }}" -eq 1 ]]; then
echo "🪵🪵🪵🪵🪵🪵 Latest log before timeout 🪵🪵🪵🪵🪵🪵\n\n"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will be removed on a separate PR.

  1. Will rename all the logs generated to correspond to the id of the instance we assign in instance.py
  2. Will only upload the logs of failed tests

@kostasrim
Copy link
Contributor Author

@kostasrim kostasrim merged commit 7b4591c into main Feb 6, 2024
10 checks passed
@kostasrim kostasrim deleted the do_not_print_timedout_when_tests_fail branch February 6, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants