Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Dec 2, 2024

Using the current time to seed the random number generator in tests will make them non-determinisitic. Simply using the default seed or seeding with a fixed value seem fine all of these test cases.

@sbc100 sbc100 force-pushed the random_test branch 2 times, most recently from 865e9cc to ffa6692 Compare December 3, 2024 00:27
@sbc100 sbc100 enabled auto-merge (squash) December 3, 2024 00:27
Using the current time to seed the random number generator in tests
will make them non-determinisitic.  Simply using the default seed or
seeding with a fixed value seem fine all of these test cases.
@sbc100 sbc100 disabled auto-merge December 5, 2024 20:32
@sbc100 sbc100 enabled auto-merge (squash) December 5, 2024 20:32
@sbc100 sbc100 merged commit 3dff04c into emscripten-core:main Dec 5, 2024
28 checks passed
@sbc100 sbc100 deleted the random_test branch December 5, 2024 21:34
hedwigz pushed a commit to hedwigz/emscripten that referenced this pull request Dec 18, 2024
…ten-core#23050)

Using the current time to seed the random number generator in tests will
make them non-determinisitic. Simply using the default seed or seeding
with a fixed value seem fine all of these test cases.
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