Closed fxamacker closed 2 years ago
Prevent error handling in FastCommit() from closing channel before all goroutines are done.
This PR resolves nondeterministic CI test failure from slower goroutine sending on closed channel after FastCommit() exits early on error detection.
Test case to reproduce the problem uses division in a loop to simulate slow encoding inside a goroutine because using sleep was flaky.
Closes #240
main
Files changed
Description
Prevent error handling in FastCommit() from closing channel before all goroutines are done.
This PR resolves nondeterministic CI test failure from slower goroutine sending on closed channel after FastCommit() exits early on error detection.
Test case to reproduce the problem uses division in a loop to simulate slow encoding inside a goroutine because using sleep was flaky.
Closes #240
main
branchFiles changed
in the Github PR explorer