You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2019/06/12 12:26:14 UTC

[tinkerpop] 01/03: Load test data after initialization of the id managers CTR

This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit ac21d0f38749faf5ae5a532cc3f3a5831da49bc8
Author: Stephen Mallette <sp...@genoprime.com>
AuthorDate: Wed Jun 12 08:25:11 2019 -0400

    Load test data after initialization of the id managers CTR
---
 gremlin-server/src/test/scripts/generate-all.groovy | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gremlin-server/src/test/scripts/generate-all.groovy b/gremlin-server/src/test/scripts/generate-all.groovy
index ee65bb4..aa3c5e5 100644
--- a/gremlin-server/src/test/scripts/generate-all.groovy
+++ b/gremlin-server/src/test/scripts/generate-all.groovy
@@ -29,12 +29,6 @@ def globals = [:]
 // Note that the name of the key in the "global" map is unimportant.
 globals << [hook : [
   onStartUp: { ctx ->
-    TinkerFactory.generateClassic(classic)
-    TinkerFactory.generateModern(modern)
-    TinkerFactory.generateTheCrew(crew)
-    TinkerFactory.generateGratefulDead(grateful)
-    TinkerFactory.generateKitchenSink(sink)
-
     // a wild bit of trickery here. the process tests use an INTEGER id manager when LoadGraphWith is used. this
     // closure provides a way to to manually override the various id managers for TinkerGraph - the graph on which
     // all of these remote tests are executed - so that the tests will pass nicely. an alternative might have been
@@ -56,6 +50,12 @@ globals << [hook : [
       allowSetOfIdManager(it, "edgeIdManager")
       allowSetOfIdManager(it, "vertexPropertyIdManager")
     }
+
+    TinkerFactory.generateClassic(classic)
+    TinkerFactory.generateModern(modern)
+    TinkerFactory.generateTheCrew(crew)
+    TinkerFactory.generateGratefulDead(grateful)
+    TinkerFactory.generateKitchenSink(sink)
   }
 ] as LifeCycleHook]