forked from capnproto/go-capnp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better isolate the tests under TestHandleReturn_regression
Previously, these tests used the same connection for both tests. This fixes intermittent test failures on the second test, as discussed in capnproto#318. I think, in principle, the tests *should* pass in that case anyway, but: 1. Keeping the cases isolated makes this easier to understand 2. This way we can (and now do) run the tests in parallel 3. While we should better test the scenarios where: - a connection is used after a bootstrap fails - bootstrap is called more than once - etc. Doing so without tests dedicated to those things will be very difficult to maintain; we could add some but that should be a separate (low priority) task.
- Loading branch information
Showing
1 changed file
with
48 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters