Skip to content

Revert "1568 Enhance tests to use self random state (#1599)"#1607

Merged
Nic-Ma merged 1 commit intoProject-MONAI:masterfrom
wyli:revert-1599
Feb 21, 2021
Merged

Revert "1568 Enhance tests to use self random state (#1599)"#1607
Nic-Ma merged 1 commit intoProject-MONAI:masterfrom
wyli:revert-1599

Conversation

@wyli
Copy link
Copy Markdown
Contributor

@wyli wyli commented Feb 21, 2021

This reverts commit 181f633.

Signed-off-by: Wenqi Li [email protected]

fixes #1599

Description

#1599 still generates nondeterministic results

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).

@wyli wyli requested a review from Nic-Ma February 21, 2021 21:32
@wyli
Copy link
Copy Markdown
Contributor Author

wyli commented Feb 21, 2021

i'm not 100% sure if this is related to #1599 but it was more stable before this. please look into it if you have time https://github.com/Project-MONAI/MONAI/runs/1947486945?check_suite_focus=true#step:6:8667 @Nic-Ma

@Nic-Ma
Copy link
Copy Markdown
Contributor

Nic-Ma commented Feb 21, 2021

I think maybe we should set a different random seed for every test case, so every test will be deterministic.
Anyway, let's merge this PR to avoid CI failures first.

Thanks.

@Nic-Ma Nic-Ma merged commit 19a9f05 into Project-MONAI:master Feb 21, 2021
@wyli wyli deleted the revert-1599 branch February 21, 2021 23:56
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