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

Stabilize two test that seem to often fail on the CI #1705

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

laeubi
Copy link
Contributor

@laeubi laeubi commented Nov 10, 2024

  • Use a timeout instead of static wait times
  • retry diagnostics
  • use a copy of the current state

This also reduces the test time from 5 sec to less than a second for the

TimeUnit.SECONDS.sleep(5); // HACK: to make the timing work on slow machines

@laeubi laeubi force-pushed the stabilize_tests branch 4 times, most recently from 843f24a to 1bcac1d Compare November 10, 2024 18:49
- Use a timeout instead of static wait times
- retry diagnostics
- use a copy of the current state

Signed-off-by: Christoph Läubrich <[email protected]>
@laeubi
Copy link
Contributor Author

laeubi commented Nov 10, 2024

Seems one need to sort out what is really "unexpected" here... some of the returned diagnostics do not look that wrong given other seem to be intermediates or even valid... I'll take a look later on this, but currently it makes contributions really hard if there are random failures.

@angelozerr
Copy link
Contributor

Seems one need to sort out what is really "unexpected" here... some of the returned diagnostics do not look that wrong given other seem to be intermediates or even valid... I'll take a look later on this, but currently it makes contributions really hard if there are random failures.

I understand that it is an annoying problem, this problem should be fixed.

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.

2 participants