Skip to content

Problems with running integration tests en masse #3674

Discussion options

You must be logged in to vote

Sorry, my mistake, it automatically starts the outbound endpoint. You're correct.

If you look at my test from this link #3674 (reply in thread)
you'll see an assertion that the endpoint is stopped on the first line of code in the method. The test doesn't fail on that line. You'll also see an assertion that the endpoint has started after I've manually started it. It doesn't fail on that assertion.

It fails on this line verify(messageHandler, timeout(5000)).handleMessage(any()); The console output during the test shows it removing the actual handler and adding the mock handler but the mock handler doesn't get the call, it goes to the actual handler.

If I remove the call to start the endpoin…

Replies: 2 comments 40 replies

Comment options

You must be logged in to vote
13 replies
@artembilan
Comment options

@stormsensorbrian
Comment options

@artembilan
Comment options

@stormsensorbrian
Comment options

@artembilan
Comment options

Comment options

You must be logged in to vote
27 replies
@artembilan
Comment options

@garyrussell
Comment options

@artembilan
Comment options

@garyrussell
Comment options

@artembilan
Comment options

Answer selected by stormsensorbrian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants