[
https://issues.apache.org/jira/browse/JAMES-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tellier Benoit resolved JAMES-1896.
-----------------------------------
Resolution: Fixed
> Take care of unstable test in CassandraUploadCucumberTest
> ---------------------------------------------------------
>
> Key: JAMES-1896
> URL: https://issues.apache.org/jira/browse/JAMES-1896
> Project: James Server
> Issue Type: Bug
> Components: Build System
> Reporter: Antoine Duprat
> Priority: Major
>
> [INFO] Apache James :: Server :: JMAP :: Cassandra Integration testing
> FAILURE [14:37 min]
> [31mcucumber/UploadEndpoint.feature:30 [0m# Scenario: Uploading a content
> without content type should be denied
> 7 Scenarios ([31m1 failed[0m, [32m6 passed[0m)
> 28 Steps ([31m1 failed[0m, [32m27 passed[0m)
> 0m34.463s
> org.junit.ComparisonFailure: expected:<40[0]> but was:<40[1]>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at
> org.apache.james.jmap.methods.integration.cucumber.UploadStepdefs.httpBadRequestStatus(UploadStepdefs.java:119)
> at ✽.Then the user should receive bad request
> response(cucumber/UploadEndpoint.feature:32)
> Tests run: 35, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 34.553 sec
> <<< FAILURE! - in
> org.apache.james.jmap.cassandra.cucumber.CassandraUploadCucumberTest
> Then the user should receive bad request response(Scenario: Uploading a
> content without content type should be denied) Time elapsed: 0.01 sec <<<
> FAILURE!
> org.junit.ComparisonFailure: expected:<40[0]> but was:<40[1]>
> Scenario: Uploading a content without content type should be denied Time
> elapsed: 0.01 sec <<< FAILURE!
> org.junit.ComparisonFailure: expected:<40[0]> but was:<40[1]>
> Failed tests:
> expected:<40[0]> but was:<40[1]>
> expected:<40[0]> but was:<40[1]>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]