pierre/collector — Issue #1: 2 unit test failures for Hadoop tests
Author: cowtowncoder
Created: 2011-11-30 18:05:10+00:00
State: open

Not sure if this is related to my environment or what, but I see these 2 failures:

---

Test method	Exception	Time (seconds)	Instance
testFlushSizeThreshold
Test class: com.ning.metrics.collector.hadoop.processing.TestSizeThresholdEventSpoolDispatcher

java.lang.AssertionError: expected:<1> but was:<0>
at com.ning.metrics.collector.hadoop.processing.TestSizeThresholdEventSpoolDispatcher.testFlushSizeThreshold(TestSizeThresholdEventSpoolDispatcher.java:82)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
... Removed 30 stack frames

Click to show all stack frames	2	com.ning.metrics.collector.hadoop.processing.TestSizeThresholdEventSpoolDispatcher@40537935
testFlushTimeThreshold
Test class: com.ning.metrics.collector.hadoop.processing.TestTimeThresholdEventSpoolDispatcher

java.lang.AssertionError: expected:<1> but was:<0>
at com.ning.metrics.collector.hadoop.processing.TestTimeThresholdEventSpoolDispatcher.testFlushTimeThreshold(TestTimeThresholdEventSpoolDispatcher.java:71)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
... Removed 30 stack frames