-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit: 1) Shortens time of the discovery tests from 20 seconds to 5 seconds By waiting until assertions hold (or a timeout expires) instead of sleeping and then checking the assertions. 2) Fixes a bug in tests that only manifests on Mac: I am checking At some point that goroutines are dead, but the detection logic didn't fit Mac runtime because they had different order of methods in go tests stack traces. I simply do an exhaustive search now of all stack trace of a goroutine instead of checking a specific index. Change-Id: I0bfed083bedcf6dce6247c77c2885ea436717c82 Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
- Loading branch information
Showing
4 changed files
with
188 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.