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

Enhance PollingConditions usage in tests #13985

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Conversation

matrei
Copy link
Contributor

@matrei matrei commented Jan 26, 2025

  • Use the assert keyword in PollingConditions conditions, as recommended in the API docs and documentation.
  • Increase the delay for PollingConditions from the default 100ms to 200ms. This adjustment tries to address flakiness observed in CI environments, providing more stability for tests.

- Use the `assert` keyword in `PollingConditions` conditions, as recommended in the [API docs](https://spockframework.org/spock/javadoc/2.3/spock/util/concurrent/PollingConditions.html) and [documentation](https://spockframework.org/spock/docs/2.3/all_in_one.html#_polling_conditions).
- Increase the delay for `PollingConditions` from the default 100ms to 200ms. This adjustment tries to address flakiness observed in CI environments, providing more stability for tests.
@matrei matrei requested a review from jdaugherty January 26, 2025 16:35
@matrei matrei changed the title test: enhance PollingConditions usage in tests Enhance PollingConditions usage in tests Jan 26, 2025
@matrei matrei merged commit a4c6bcd into 7.0.x Jan 28, 2025
24 checks passed
@matrei matrei deleted the matrei/eventually-assert branch January 28, 2025 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants