Re: Failing tests in git

Klaus Wuestefeld <[email protected]>
Newsgroups gmane.comp.java.prevayler
Message-ID <CAMAooZGEbL3i==Dz6vTAZFnJ3KAJ1Gb+DbOdGj-q-e1Cyca4QA@mail.gmail.com>
Yup. Food taster related tests can be deleted.

I suppose the smoke test covers more than just food-tasting.

Klaus


On Wed, Nov 9, 2011 at 12:47 PM, Karl Wettin <[email protected]> wrote:
> Hi all,
>
> there are a bunch of tests that are failing since the last two commits:
> SmokeTest, ConfusedFoodTesterStressTest, DeadKingDeepCopyTest and RollbackTest.
>
> These are all related to food tasting. Haven't quite had the time to keep up with what you've been talking about but I've noticed you've mentioned getting rid of it, so this is might just be me taking up space in your mail quota.
>
>
>                karl
>
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Prevayler Tests 2.6-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ prevayler-tests ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ prevayler-tests ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ prevayler-tests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/kalle/projekt/github/jsampson/prevayler/tests/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ prevayler-tests ---
> [INFO] Compiling 8 source files to /Users/kalle/projekt/github/jsampson/prevayler/tests/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ prevayler-tests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /Users/kalle/projekt/github/jsampson/prevayler/tests/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ prevayler-tests ---
> [INFO] Compiling 17 source files to /Users/kalle/projekt/github/jsampson/prevayler/tests/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.8.1:test (default-test) @ prevayler-tests ---
> [INFO] Surefire report directory: /Users/kalle/projekt/github/jsampson/prevayler/tests/target/surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.prevayler.foundation.ChunkingTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running org.prevayler.foundation.DeepCopierTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
> Running org.prevayler.foundation.DurableOutputStreamTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
> Running org.prevayler.implementation.CheckpointTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec
> Running org.prevayler.implementation.ConfusedFoodTasterStressTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec <<< FAILURE!
> Running org.prevayler.implementation.DeadKingDeepCopyTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec <<< FAILURE!
> Running org.prevayler.implementation.JournalFileRollingTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
> Running org.prevayler.implementation.JournalSerializerTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.331 sec
> Running org.prevayler.implementation.PersistenceTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 sec
> Running org.prevayler.implementation.PrevaylerFactoryTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
> Running org.prevayler.implementation.QueryExecutionTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
> Running org.prevayler.implementation.RollbackTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE!
> Running org.prevayler.implementation.SkipOldTransactionsTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running org.prevayler.implementation.snapshot.GenericSnapshotManagerTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.prevayler.implementation.SnapshotSerializerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
> Running org.prevayler.implementation.TransactionWithQueryTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
> Running org.prevayler.implementation.TransientPrevaylerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
>
> Results :
>
> Failed tests:
>  testFoodTasting(org.prevayler.implementation.ConfusedFoodTasterStressTest)
>  testDeadKing(org.prevayler.implementation.DeadKingDeepCopyTest)
>  testRollback(org.prevayler.implementation.RollbackTest): expected:<......> but was:<...rollback...>
>
> Tests run: 53, Failures: 3, Errors: 0, Skipped: 0
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Prevayler ......................................... SUCCESS [1.342s]
> [INFO] Prevayler Core .................................... SUCCESS [4.516s]
> [INFO] Extras parent ..................................... SUCCESS [0.016s]
> [INFO] Prevayler XStream Serializer ...................... SUCCESS [1.840s]
> [INFO] Spikes parent ..................................... SUCCESS [0.015s]
> [INFO] Prevayler Mirroring ............................... SUCCESS [2.035s]
> [INFO] Prevayler Factory ................................. SUCCESS [1.953s]
> [INFO] Prevayler Log4J Monitor ........................... SUCCESS [1.803s]
> [INFO] Prevayler Tests ................................... FAILURE [1.465s]
> [INFO] Prevayler Transactions Facade ..................... SKIPPED
> [INFO] Prevayler Memento Framework ....................... SKIPPED
> [INFO] Prevayler Mirroring Tests ......................... SKIPPED
> [INFO] Demos parent ...................................... SKIPPED
> [INFO] Prevayler Demo 1 .................................. SKIPPED
> [INFO] Prevayler JXPath Demo ............................. SKIPPED
> [INFO] Prevayler Scalability Demo ........................ SKIPPED
> [INFO] Prevayler Tutorial ................................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 15.354s
> [INFO] Finished at: Wed Nov 09 15:24:23 CET 2011
> [INFO] Final Memory: 15M/81M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.8.1:test (default-test) on project prevayler-tests: There are test failures.
> [ERROR]
> [ERROR] Please refer to /Users/kalle/projekt/github/jsampson/prevayler/tests/target/surefire-reports for the individual test results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :prevayler-tests
> KEB:prevayler kalle$
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.