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

Test sampling in simulation #43

Merged
merged 4 commits into from
Apr 21, 2022
Merged

Conversation

petrohi
Copy link
Contributor

@petrohi petrohi commented Apr 19, 2022

No description provided.

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #443: Test sampling in simulation.

@petrohi petrohi requested a review from tdb-alcorn April 19, 2022 21:17
Copy link
Contributor

@tdb-alcorn tdb-alcorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

}
}

for (_ <- 0 until cycleCount) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the future: you can avoid this cycle count kludge by keeping a reference to the threads launched and then joining them all as the last step in the test. See the TCU tests for some examples.

@petrohi petrohi merged commit 2c0fa90 into main Apr 21, 2022
@petrohi petrohi deleted the peter/sc-443/test-sampling-in-simulation branch April 21, 2022 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants