incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Jungblut <thomas.jungb...@googlemail.com>
Subject Re: Failure in test case TestAvroMessageManager
Date Wed, 08 Feb 2012 15:44:45 GMT
There were no unit test included.
I just fixed it.

Hope it works for you then.

[INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Hama parent POM ............................ SUCCESS [1.673s]
> [INFO] core .............................................. SUCCESS
> [1:58.375s]
> [INFO] graph ............................................. SUCCESS [3.173s]
> [INFO] examples .......................................... SUCCESS
> [51.191s]
> [INFO] yarn .............................................. SUCCESS [9.304s]
> [INFO] dist .............................................. SUCCESS
> [4:17.399s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7:22.244s
> [INFO] Finished at: Wed Feb 08 16:44:29 CET 2012
> [INFO] Final Memory: 70M/419M
> [INFO]
> ------------------------------------------------------------------------



2012/2/8 Chia-Hung Lin <clin4j@googlemail.com>

> I observe that when compiling trunk source (revision 1241923), a test
> case fails in passing the test. Any additional place needs to be
> configure?
>
>
>  core/target/surefire-reports/org.apache.hama.bsp.message.TestAvroMessageManager.txt
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.hama.bsp.message.TestAvroMessageManager
>
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.012
> sec <<< FAILURE!
> initializationError(org.apache.hama.bsp.message.TestAvroMessageManager)
>  Time elapsed: 0.005 sec  <<< ERROR!
> java.lang.Exception: No runnable methods
>        at
> org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:171)
>        at
> org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:115)
>        at org.junit.runners.ParentRunner.validate(ParentRunner.java:269)
>        at org.junit.runners.ParentRunner.<init>(ParentRunner.java:66)
>        at
> org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:59)
>        at
> org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:13)
>        at
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
>        at
> org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
>        at org.junit.runner.Computer.getRunner(Computer.java:38)
>        at
> org.junit.experimental.ParallelComputer.getRunner(ParallelComputer.java:75)
>        at org.junit.runner.Computer$1.runnerForClass(Computer.java:29)
>        at
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
>        at
> org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:93)
>        at
> org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:84)
>        at org.junit.runners.Suite.<init>(Suite.java:79)
>        at org.junit.runner.Computer.getSuite(Computer.java:26)
>        at
> org.junit.experimental.ParallelComputer.getSuite(ParallelComputer.java:68)
>        at org.junit.runner.Request.classes(Request.java:69)
>        at org.junit.runner.JUnitCore.run(JUnitCore.java:127)
>        at
> org.apache.maven.surefire.junitcore.JUnitCoreTestSet.runJunitCore(JUnitCoreTestSet.java:208)
>        at
> org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:95)
>        at
> org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:82)
>        at
> org.apache.maven.surefire.junitcore.JUnitCoreDirectoryTestSuite.execute(JUnitCoreDirectoryTestSuite.java:84)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:104)
>        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:601)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017)
>



-- 
Thomas Jungblut
Berlin <thomas.jungblut@gmail.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message