quantranhong1999 commented on code in PR #1088:
URL: https://github.com/apache/james-project/pull/1088#discussion_r930823322


##########
third-party/rspamd/src/test/java/org/apache/james/rspamd/client/RSpamDHttpClientTest.java:
##########
@@ -113,7 +108,6 @@ void 
checkSpamMailUsingRSpamDClientWithExactPasswordShouldReturnAnalysisResultAs
         .then()
             .statusCode(HttpStatus.OK_200)
             .body("action", is(analysisResult.getAction().getDescription()))
-            .body("score", is(analysisResult.getScore()))

Review Comment:
   As Tung said, these tests were green on his local. But CI failed. This means 
on Tung's local the merged input stream we send to RSpamD by our client is 
having the same score as the message body we sent manually to RSpamD through 
its web UI, but the CI is not the same case.
   Plus with what we tested on diff machines, we likely can confirm that RSpamD 
(at least our docker image) spam scoring is diff on machines.
   
   So I propose let disabling the scoring assertion for now. Let's say our 
client does the job regardless of RSpamD's scoring behavior and spend time 
investigating that behavior later.
   
   What are your opinions?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to