diff options
| -rw-r--r-- | src/unit/hash.unit | 2 | ||||
| -rw-r--r-- | src/unit/queuebuf.unit | 2 | ||||
| -rw-r--r-- | src/unit/synchrohash.unit | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/unit/hash.unit b/src/unit/hash.unit index 920abac..c303df9 100644 --- a/src/unit/hash.unit +++ b/src/unit/hash.unit | |||
| @@ -131,7 +131,7 @@ suite Hash | |||
| 131 | 131 | ||
| 132 | test stress | 132 | test stress |
| 133 | { | 133 | { |
| 134 | srandom(time(NULL)); | 134 | srandom(12345); |
| 135 | 135 | ||
| 136 | IntStrHash hTest; | 136 | IntStrHash hTest; |
| 137 | IntStrHash hReUse; | 137 | IntStrHash hReUse; |
diff --git a/src/unit/queuebuf.unit b/src/unit/queuebuf.unit index b628893..6942852 100644 --- a/src/unit/queuebuf.unit +++ b/src/unit/queuebuf.unit | |||
| @@ -42,7 +42,7 @@ suite QueueBuf | |||
| 42 | 42 | ||
| 43 | test testAmounts | 43 | test testAmounts |
| 44 | { | 44 | { |
| 45 | srandom(time(NULL)); | 45 | srandom(12345); |
| 46 | Bu::QueueBuf qb; | 46 | Bu::QueueBuf qb; |
| 47 | Bu::String sTmp; | 47 | Bu::String sTmp; |
| 48 | char buf[4096]; | 48 | char buf[4096]; |
diff --git a/src/unit/synchrohash.unit b/src/unit/synchrohash.unit index 756f38b..eb6c387 100644 --- a/src/unit/synchrohash.unit +++ b/src/unit/synchrohash.unit | |||
| @@ -131,7 +131,7 @@ suite Hash | |||
| 131 | 131 | ||
| 132 | test stress | 132 | test stress |
| 133 | { | 133 | { |
| 134 | srandom(time(NULL)); | 134 | srandom(1234); |
| 135 | 135 | ||
| 136 | IntStrHash hTest; | 136 | IntStrHash hTest; |
| 137 | IntStrHash hReUse; | 137 | IntStrHash hReUse; |
