-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: rely on rabbitmq dlq for computation errors handling #156
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
714225b
to
9559167
Compare
Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code OK
Test OK
pom.xml
Outdated
@@ -86,6 +86,11 @@ | |||
<dependencyManagement> | |||
<dependencies> | |||
<!-- overrides of imports --> | |||
<dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to remove next powsybl upgrade?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will update with the released version of powsybl-ws-commons anyway, so I will ad the comment
assertEquals("me", cancelMessage.getHeaders().get("receiver")); | ||
assertEquals(getFailedMessage(COMPUTATION_TYPE) + " : " + ERROR_MESSAGE, cancelMessage.getHeaders().get("message")); | ||
// No result message | ||
assertNull(output.receive(TIMEOUT, "sa.result")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the equivalent test is to check if there is a .ComputationException with the corresponding message?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we check the run.dlx?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no sadly it doesn't work... the default test binder setup by springcloudstream doesn't behave the same, then I couldn't test like that
Quality Gate passedIssues Measures |
No description provided.