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 unreliable behavior in Unit Test #9251

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

jsync-swirlds
Copy link
Member

ScheduleSignHandlerTest handleExecutesImmediateIfPossible was not behaving deterministically. This was traced to a HashSet that was allowing duplicate PBJ values, somehow, for reference-equal objects. The set implementation was changed to LinkedHashSet, and appears to be behaving correctly now.

ScheduleSignHandlerTest `handleExecutesImmediateIfPossible` was not behaving deterministically.  This was traced to a HashSet that was allowing duplicate PBJ values, somehow, for reference-equal objects.  The set implementation was changed to LinkedHashSet, and appears to be behaving correctly now.

Signed-off-by: Joseph Sinclair <joseph.sinclair@swirldslabs.com>
@jsync-swirlds jsync-swirlds self-assigned this Oct 13, 2023
@github-actions
Copy link

Node: Unit Test Results

    2 236 files      2 236 suites   1h 14m 58s ⏱️
118 091 tests 118 056 ✔️ 35 💤 0
126 367 runs  126 332 ✔️ 35 💤 0

Results for commit a9aad13.

@github-actions
Copy link

Node: E2E Test Results

    1 files      1 suites   20m 27s ⏱️
310 tests 310 ✔️ 0 💤 0
328 runs  328 ✔️ 0 💤 0

Results for commit a9aad13.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@github-actions
Copy link

Node: Integration Test Results

280 tests   280 ✔️  32m 32s ⏱️
    5 suites      0 💤
    5 files        0

Results for commit a9aad13.

@jsync-swirlds jsync-swirlds marked this pull request as ready for review October 13, 2023 23:34
@jsync-swirlds jsync-swirlds requested a review from a team October 13, 2023 23:34
@jsync-swirlds jsync-swirlds requested a review from a team as a code owner October 13, 2023 23:34
@jsync-swirlds jsync-swirlds merged commit 70d9aa8 into develop Oct 14, 2023
@jsync-swirlds jsync-swirlds deleted the fix-schedule-sign-unit-test branch October 14, 2023 00:04
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