Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add test for AsyncOperationProcessor stop() behavior The existing implementation sometimes drops existing operations that are still on the queue when .stop() is called. If multiple communications in a select statement can proceed, one is chosen pseudo-randomly: https://go.dev/ref/spec#Select_statements This means that sometimes a processor worker will process a remaining operation, and sometimes it won't. Signed-off-by: Daniel Sabsay <[email protected]> * Fix async_op test regarding stop() behavior Signed-off-by: Daniel Sabsay <[email protected]> * add header to test file Signed-off-by: Daniel Sabsay <[email protected]> --------- Signed-off-by: Daniel Sabsay <[email protected]> Co-authored-by: Daniel Sabsay <[email protected]>
- Loading branch information