-
Notifications
You must be signed in to change notification settings - Fork 805
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing matching:TestCheckIdleTaskList test flackiness
For some reason it almost always fails in IDE (4/5 cases, goland), but passes in console. At the same time, the test clearly had issues: - it's been 3 subtests in one - only the first subtest checked task-list became stopped when unused - the third subtest (the one which has been failing) never succeeded with `tlm.AddTask` since writer never started - instead of tlm.Start() we used special version which supposed to mimic it, but never started the writer. The test is still problematic since it continues using time.Sleep all around, but so do all the other tests for matching :-( More comments and error-messages also bring more clarity to what the test is actually for.
- Loading branch information
Showing
1 changed file
with
68 additions
and
58 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