• Matthew Slipper's avatar
    op-supervisor: fix data race in test (#12824) · 6fbf9db6
    Matthew Slipper authored
    * op-supervisor: fix data race in test
    
    This test is flaky in CI. I believe it may be related to a data race: the `count` variable was being read from/written to across multiple threads which could lead to invalid data being read by the test. I verified that the data race was gone by running the test with `-race`.
    
    * Use >= rather than exact numbers
    6fbf9db6
worker_test.go 3.5 KB