[Jifty-commit] r5883 - in jifty/trunk: lib/Jifty
Jifty commits
jifty-commit at lists.jifty.org
Wed Sep 24 14:01:04 EDT 2008
Author: alexmv
Date: Wed Sep 24 14:01:03 2008
New Revision: 5883
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Test.pm
Log:
r37700 at kohr-ah: chmrr | 2008-09-24 13:59:49 -0400
* Depend on the $$, not on random numbers
Modified: jifty/trunk/lib/Jifty/Test.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test.pm (original)
+++ jifty/trunk/lib/Jifty/Test.pm Wed Sep 24 14:01:03 2008
@@ -376,7 +376,7 @@
Database => $config->framework('Database')->{Database} . $class->_testfile_to_dbname(),
},
Web => {
- Port => int(rand(5000) + 10000),
+ Port => ($$ % 5000) + 10000,
DataDir => File::Temp::tempdir('masonXXXXXXXXXX', CLEANUP => 1)
},
Mailer => 'Jifty::Test',
More information about the Jifty-commit
mailing list