Scenario Test Suite

Tests passed/Failed/Skipped:22/1/0
Started on:Mon Sep 01 15:10:13 CEST 2014
Total time:531 seconds (531350 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.scenario.AutoScalerPolicyTest
java.lang.AssertionError: expected [1] but found [2]
	at at.ac.testing.brooklyn.original.AutoScalerPolicyTest$7.run(AutoScalerPolicyTest.java:608)
	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.scenario.AutoScalerPolicyTest.testResizeDownStabilizationDelayTakesMinSustainedDesired(AutoScalerPolicyTest.java:647)
	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.original.AutoScalerPolicyTest$7.run(AutoScalerPolicyTest.java:608)
	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.scenario.AutoScalerPolicyTest.testResizeDownStabilizationDelayTakesMinSustainedDesired(AutoScalerPolicyTest.java:647)
	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)
53 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb

PASSED TESTS
Test method Exception Time (seconds) Instance
testConcurrentGrowGrow
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
30 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testConcurrentGrowShrink
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
30 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testConcurrentShrinkGrow
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
30 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testConcurrentShrinkShrink
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
29 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testDecrementsSizeIffLowerBoundExceeded
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest
21 at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest@6bee68fc
testDecrementsSizeInProportionToMetric
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest
37 at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest@6bee68fc
testGrowHotPool
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
9 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testIncrementsSizeIffUpperBoundExceeded
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest
22 at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest@6bee68fc
testIncrementsSizeInProportionToMetric
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest
23 at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest@6bee68fc
testNeverGrowAboveMaximmum
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
9 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testNeverGrowColdPool
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
9 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testNeverShrinkBelowMinimum
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
9 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testNeverShrinkHotPool
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
9 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testObeysMinAndMaxSize
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest
22 at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest@6bee68fc
testResizeDownStabilizationDelayIgnoresBlip
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
25 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testResizeDownStabilizationDelayResizesAfterDelay
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
22 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testResizeUpStabilizationDelayIgnoresBlip
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
27 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testResizeUpStabilizationDelayResizesAfterDelay
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
21 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testResizeUpStabilizationDelayTakesMaxSustainedDesired
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
43 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testShrinkColdPool
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
9 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testShrinkColdPoolRoundsUpDesiredNumberOfContainers
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest
9 at.ac.testing.brooklyn.scenario.AutoScalerPolicyTest@1d86dbbb
testWarnsWhenMaxCapReached
Test class: at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest
22 at.ac.testing.brooklyn.scenario.AutoScalerPolicyMetricTest@6bee68fc