From 87a90aeab20d11ed5853ba3048c3af304c7c638d Mon Sep 17 00:00:00 2001 From: David Montag Date: Fri, 18 Mar 2011 00:19:12 -0700 Subject: [PATCH] Hopefully fixed test. Still very brittle though. --- .../graph/neo4j/support/IndexingNodeTypeStrategyTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-data-neo4j/src/test/java/org/springframework/data/graph/neo4j/support/IndexingNodeTypeStrategyTest.java b/spring-data-neo4j/src/test/java/org/springframework/data/graph/neo4j/support/IndexingNodeTypeStrategyTest.java index 8999e148c..1863e4859 100644 --- a/spring-data-neo4j/src/test/java/org/springframework/data/graph/neo4j/support/IndexingNodeTypeStrategyTest.java +++ b/spring-data-neo4j/src/test/java/org/springframework/data/graph/neo4j/support/IndexingNodeTypeStrategyTest.java @@ -45,7 +45,9 @@ public class IndexingNodeTypeStrategyTest { @Before public void setUp() throws Exception { - createThings(); + if (thing == null) { + createThings(); + } } @Test