Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1251

AASleepIT test fails to reach expected count

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.92
    • Slider 1.0.0
    • test
    • None

    Description

      Here is the test error console output -

      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 55.822 sec <<< FAILURE! - in org.apache.slider.funtest.lifecycle.AASleepIT
      testAASleepIt(org.apache.slider.funtest.lifecycle.AASleepIT)  Time elapsed: 53.566 sec  <<< FAILURE!
      Assertion failed:
      
      assert expected == actual
             |        |  |
             5        |  4
                      false
      
      	at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:402)
      	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:650)
      	at org.apache.slider.test.SliderTestUtils.assertContainersLive(SliderTestUtils.groovy:780)
      	at org.apache.slider.funtest.framework.CommandTestBase.assertContainersLive(CommandTestBase.groovy:1321)
      	at org.apache.slider.funtest.lifecycle.AASleepIT$_operations_closure1.doCall(AASleepIT.groovy:149)
      	at org.apache.slider.funtest.lifecycle.AASleepIT$_operations_closure1.call(AASleepIT.groovy)
      	at org.codehaus.groovy.runtime.DefaultGroovyMethods.times(DefaultGroovyMethods.java:14336)
      	at org.apache.slider.funtest.lifecycle.AASleepIT.operations(AASleepIT.groovy:148)
      	at org.apache.slider.funtest.lifecycle.AASleepIT.testAASleepIt(AASleepIT.groovy:115)
      	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)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      
      
      Results :
      
      Failed tests:
        AASleepIT.testAASleepIt:115->operations:148->CommandTestBase.assertContainersLive:1321->SliderTestUtils.assertContainersLive:780 assert expected == actual
             |        |  |
             5        |  4
                      false
      
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
      

      Attachments

        Activity

          People

            gsaha Gour Saha
            gsaha Gour Saha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: