Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1896

Take care of unstable test in CassandraUploadCucumberTest

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None

      Description

      [INFO] Apache James :: Server :: JMAP :: Cassandra Integration testing FAILURE [14:37 min]

      cucumber/UploadEndpoint.feature:30 # Scenario: Uploading a content without content type should be denied

      7 Scenarios (1 failed, 6 passed)
      28 Steps (1 failed, 27 passed)
      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]>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aduprat Antoine Duprat
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: