X-Git-Url: http://nitlanguage.org diff --git a/tests/test_nitcorn.nit b/tests/test_nitcorn.nit index e4088a2..5f2ca1c 100644 --- a/tests/test_nitcorn.nit +++ b/tests/test_nitcorn.nit @@ -17,8 +17,8 @@ import pthreads redef class Sys var iface: String is lazy do - srand - return "localhost:{10000+20000.rand}" + var testid = "NIT_TESTING_ID".environ.to_i + return "localhost:{10000+testid}" end var fs_path: String = getcwd / "../lib/nitcorn/examples/www/hello_world/dir" is lazy