Closed emichael closed 10 months ago
Fixes #48.
This is totally untested. Will need to add some sort of testing later or at least verify by hand that this still works.
@wilcoxjay for some reason I can't add you as a reviewer, but what do you think?
Replaces #50.
Looks great! I like this approach a lot more.
I ran into this problem again today. Can we merge this?
This commit adds a private field to RunState to track when the system under test was most recently stopped. Then, when checking ClientWorkers' maximum wait times, we use that time as the basis for computing the maximum wait time.
This is a modification of @wilcoxjay's original fix, but I think it's a little bit cleaner to not force every test to call a specific method before calling
assertMaxWaitTimeLessThan
.