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 random failing ServiceSupplierTestCase.testOptionalReferences #488 #895

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

HeikoKlare
Copy link
Contributor

Fixes two issues:

  1. The ServiceSupplierTestCase asserts several values that are assigned by an asynchronous task. To this end, it waits for the conditions to be fulfilled by the asynchronous task. However, the conditions are incomplete, leading to a race condition.
  2. The ServiceSupplierTestCase has been duplicated for javax and jakarta and a fix for a random failure has only been applied to a single implementation in Fix random failing ServiceSupplierTestCase.testOptionalReferences #488 #829

This change corrects the conditions the test waits for and aligns both copies of the test class with each other.

Fixes #488

…ipse-platform#488

Fixes two issues:
1. The ServiceSupplierTestCase asserts several values that are assigned
by an asynchronous task. To this end, it waits for the conditions to be
fulfilled by the asynchronous task. However, the conditions are
incomplete, leading to a race condition.
2. The ServiceSupplierTestCase has been duplicated for javax and jakarta
and a fix for a random failure has only been applied to a single
implementation in
eclipse-platform#829

This change corrects the conditions the test waits for and aligns both
copies of the test class with each other.

Fixes eclipse-platform#488
Copy link
Contributor

github-actions bot commented Nov 29, 2023

Test Results

     591 files  ±0       591 suites  ±0   1h 1m 33s ⏱️ + 1m 34s
  3 842 tests ±0    3 837 ✔️ ±0    5 💤 ±0  0 ±0 
12 132 runs  ±0  12 096 ✔️ ±0  36 💤 ±0  0 ±0 

Results for commit 4308688. ± Comparison against base commit 2bcb23f.

♻️ This comment has been updated with latest results.

@HeikoKlare HeikoKlare marked this pull request as ready for review November 29, 2023 11:22
@HeikoKlare HeikoKlare merged commit 549805e into eclipse-platform:master Nov 29, 2023
16 checks passed
@HeikoKlare HeikoKlare deleted the issue-488 branch November 29, 2023 12:21
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.

random failing ServiceSupplierTestCase.testOptionalReferences
1 participant