• Kirill Smelkov's avatar
    tracing/tracetest: Mark T failed on fatalfInNonMain · 71b9f3fd
    Kirill Smelkov authored
    There is no guaranty that the main thread would call Fatal or Fail if a
    non-main thread calls fatalfInNonMain. This way it was possible for a
    test to succeed if only non-main thread(s) failed somehow.
    
    -> Fix it by marking the test as failed if any non-main thread fails.
    71b9f3fd
tracetest.go 15.1 KB