Conversation
|
What do you think about creating a separate module in the same vein as On the other hand i'm not sure how that would work, as that test module would likely require code from the core source, so it would create a circular dependency, so maybe what is done here is for the best. |
Unfortunately classes like |
💯 agreed with the approach you are using in that case then. |
|
👍, on deploying test-jar. there are some failing unit tests in travis, are those caused by this? |
No these were transient failures, I triggered a new build and it passed. |
Ah ok, i'll look into that test. I could have sworn we've had issues with this particular test in the past and made it more resilient, but perhaps there is something more we can do there. |
olim7t
left a comment
There was a problem hiding this comment.
👍 , reusing RequestHandlerTestHarness outside of the project is really nice to have.
See my comment about future assertions though.
| public CompletionStageAssert<V> isCancelled() { | ||
| assertThat(actual.toCompletableFuture().isCancelled()) | ||
| .overridingErrorMessage("Expected completion stage to be cancelled") | ||
| .isTrue(); |
There was a problem hiding this comment.
It might be good to have a small delay in here, I've had similar assertions fail in CI because of timing issues (see 82d0d28).
No description provided.