You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e2fda01
Browse filesBrowse the repository at this point in the historyBrowse files
[TEST] Make the re-entrant flush cases able to fail
Both asserted EXPECT_TRUE(flushed()), and ForceFlush() reports success when it
gives up on its own condition variable, so the return value cannot tell a flush
that had nothing to wait for from one that waited the whole response timeout.
Inverting either ordering left both cases green at 2000 ms, the timeout they
exist to rule out. Time the re-entrant flush and bound it instead.
Also correct the comment on AFlushFromTheShutdownErrorDoesNotWaitForItsOwnExport.
It said the export is registered before the shutdown check; the check returns
first, so nothing is registered for a refused export, which is what makes the
re-entrant flush return immediately on that path.
Signed-off-by: thc1006 <84045975+thc1006@users.noreply.github.com>
0 commit comments