Equivalent Test Suite

Tests passed/Failed/Skipped:22/1/0
Started on:Mon Sep 01 15:09:27 CEST 2014
Total time:46 seconds (46043 ms)
Included groups:
Excluded groups:

(Hover the method name to see the test class name)

FAILED TESTS
Test method Exception Time (seconds) Instance
testResizeDownStabilizationDelayTakesMinSustainedDesired
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
java.lang.AssertionError: expected [1] but found [2]
	at at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest$7.run(AutoScalerPolicyTest.java:617)
	at java_lang_Runnable$run.call(Unknown Source)
	at brooklyn.test.TestUtils$_executeUntilSucceeds_closure5.doCall(TestUtils.groovy:148)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
	at brooklyn.test.TestUtils$_executeUntilSucceeds_closure5.doCall(TestUtils.groovy)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
	at brooklyn.test.TestUtils.executeUntilSucceedsWithFinallyBlockInternal(TestUtils.groovy:243)
	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrapNoCoerce.invoke(StaticMetaMethodSite.java:148)
	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:173)
	at brooklyn.test.TestUtils.executeUntilSucceedsWithFinallyBlock(TestUtils.groovy:208)
	at brooklyn.test.TestUtils$executeUntilSucceedsWithFinallyBlock.callStatic(Unknown Source)
	at brooklyn.test.TestUtils.executeUntilSucceeds(TestUtils.groovy:148)
	at at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest.testResizeDownStabilizationDelayTakesMinSustainedDesired(AutoScalerPolicyTest.java:538)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
... Removed 42 stack frames
Click to show all stack frames
java.lang.AssertionError: expected [1] but found [2]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertEquals(Assert.java:123)
	at org.testng.Assert.assertEquals(Assert.java:165)
	at at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest$7.run(AutoScalerPolicyTest.java:617)
	at java_lang_Runnable$run.call(Unknown Source)
	at brooklyn.test.TestUtils$_executeUntilSucceeds_closure5.doCall(TestUtils.groovy:148)
	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
	at brooklyn.test.TestUtils$_executeUntilSucceeds_closure5.doCall(TestUtils.groovy)
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
	at brooklyn.test.TestUtils.executeUntilSucceedsWithFinallyBlockInternal(TestUtils.groovy:243)
	at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrapNoCoerce.invoke(StaticMetaMethodSite.java:148)
	at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.callStatic(StaticMetaMethodSite.java:99)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:173)
	at brooklyn.test.TestUtils.executeUntilSucceedsWithFinallyBlock(TestUtils.groovy:208)
	at brooklyn.test.TestUtils$executeUntilSucceedsWithFinallyBlock.callStatic(Unknown Source)
	at brooklyn.test.TestUtils.executeUntilSucceeds(TestUtils.groovy:148)
	at at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest.testResizeDownStabilizationDelayTakesMinSustainedDesired(AutoScalerPolicyTest.java:538)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
	at org.testng.TestRunner.privateRun(TestRunner.java:767)
	at org.testng.TestRunner.run(TestRunner.java:617)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1198)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1194)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1123)
	at org.testng.TestNG.run(TestNG.java:1031)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
12 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398

PASSED TESTS
Test method Exception Time (seconds) Instance
testConcurrentGrowGrow
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testConcurrentGrowShrink
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testConcurrentShrinkGrow
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testConcurrentShrinkShrink
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testDecrementsSizeIffLowerBoundExceeded
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest@44a92eb7
testDecrementsSizeInProportionToMetric
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest@44a92eb7
testGrowHotPool
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
0 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testIncrementsSizeIffUpperBoundExceeded
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest@44a92eb7
testIncrementsSizeInProportionToMetric
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest@44a92eb7
testNeverGrowAboveMaximmum
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
0 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testNeverGrowColdPool
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
0 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testNeverShrinkBelowMinimum
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
0 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testNeverShrinkHotPool
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
0 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testObeysMinAndMaxSize
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest@44a92eb7
testResizeDownStabilizationDelayIgnoresBlip
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
2 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testResizeDownStabilizationDelayResizesAfterDelay
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testResizeUpStabilizationDelayIgnoresBlip
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
2 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testResizeUpStabilizationDelayResizesAfterDelay
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
1 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testResizeUpStabilizationDelayTakesMaxSustainedDesired
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
2 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testShrinkColdPool
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
0 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testShrinkColdPoolRoundsUpDesiredNumberOfContainers
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest
0 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyTest@3f3a1398
testWarnsWhenMaxCapReached
Test class: at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest
2 at.ac.testing.brooklyn.equivalent.AutoScalerPolicyMetricTest@44a92eb7