Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-14131

ProvisioningServiceTest is flaky

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.0
    • Component/s: Cloud Provisioner, Test
    • Labels:
    • Rank:
      1|i00gn3:

      Description

      In one of my builds, the test failed with following stack trace: 

      testCancelDeprovision(co.cask.cdap.internal.provision.ProvisioningServiceTest)  Time elapsed: 0.091 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<CANCELLED> but was:<REQUESTING_DELETE>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at co.cask.cdap.internal.provision.ProvisioningServiceTest.testCancelDeprovision(ProvisioningServiceTest.java:295)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
              ...

      This only happens intermittently. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ashau Albert Shau
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: