tests: use NIT_TESTING_ID in neo4j tests
authorAlexandre Terrasa <alexandre@moz-code.org>
Mon, 5 Dec 2016 18:01:46 +0000 (13:01 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Mon, 5 Dec 2016 18:01:46 +0000 (13:01 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

tests/test_neo4j.nit
tests/test_neo4j_batch.nit

index 5575949..e556349 100644 (file)
@@ -14,7 +14,7 @@
 
 import neo4j
 
-var key = get_time
+var key = "NIT_TESTING_ID".environ.to_i
 
 var srv = new Neo4jServer
 srv.start_quiet
index 7455557..35f550c 100644 (file)
@@ -17,7 +17,7 @@ import neo4j
 var srv = new Neo4jServer
 srv.start_quiet
 
-var key = get_time
+var key = "NIT_TESTING_ID".environ.to_i
 
 var andres = new NeoNode
 andres.labels.add_all(["PERSON", "MALE"])