Test cases *.java::testCollectionsCascadeRemove() fail occasionally
kerler opened this issue · comments
Test cases *.java::testCollectionsCascadeRemove() fail occasionally.
====Source code of test cases====
The source code of those test cases are at:
org.springframework.data.gremlin.object.core.repository.AbstractPersonRepositoryTest.java::testCollectionsCascadeRemove().
org.springframework.data.gremlin.object.jpa.repository.AbstractPersonRepositoryTest.java::testCollectionsCascadeRemove().
org.springframework.data.gremlin.object.neo4j.repository.AbstractPersonRepositoryTest.java::testCollectionsCascadeRemove().
Those test cases are used in sub-project 'spring-data-gremlin-orientdb', 'spring-data-gremlin-tinker' and 'spring-data-gremlin-titan'.
====Reproducing frequency====
When executing 'gradle test' several times in main project or above sub-projects, sometimes succeed and sometimes fail.
The problem is easy to be reproduced on CI(continuous integration) SaaS 'https://codeship.com/', but not easy on CI SaaS 'https://shippable.com/'. On local PC, it is 'medium easy', no matter run 'gradle test' in CMD line or debug 'gradle test' in IDEA IDE.
Attached file 'spring-data-gremlin-2015.12.03 gradle build error on codeship.com.txt' is copied from the CI SaaS 'http://codeship.com/' when codeship.com executes 'gradle build' using 2015.12.03 source code of spring-data gremlin.
====Configuration on Saas CI http://codeship.com/ ====
By the way, the config of the project on http://codeship.com/ is:
Setup Commands:
jdk_switcher home oraclejdk8
jdk_switcher use oraclejdk8
Test Commands:
gradle clean assemble
gradle build
spring-data-gremlin-2015.12.03 gradle build error on codeship.com.txt
This issue is duplicated with issue #30 AbstractPersonRespositoryTest.testCollectionsCascadeRemove() sometimes fails.