Skip to content
Snippets Groups Projects
Commit 0fc99cf0 authored by Matt Bovel's avatar Matt Bovel
Browse files

Augment limits of the testing framework

parent ca2629cb
No related branches found
No related tags found
No related merge requests found
Pipeline #158958 failed
......@@ -8,8 +8,8 @@ import Stats.*
object TestHelper:
val noOfSchedules = 10000 // set this to 100k during deployment
val readWritesPerThread =
20 // maximum number of read/writes possible in one thread
val contextSwitchBound = 10
100 // maximum number of read/writes possible in one thread
val contextSwitchBound = 500
val testTimeout = 150 // the total time out for a test in seconds
val schedTimeout =
15 // the total time out for execution of a schedule in secs
......
......@@ -8,8 +8,8 @@ import Stats.*
object TestHelper:
val noOfSchedules = 10000 // set this to 100k during deployment
val readWritesPerThread =
20 // maximum number of read/writes possible in one thread
val contextSwitchBound = 10
100 // maximum number of read/writes possible in one thread
val contextSwitchBound = 500
val testTimeout = 240 // the total time out for a test in seconds
val schedTimeout =
15 // the total time out for execution of a schedule in secs
......@@ -101,7 +101,7 @@ object TestHelper:
val scheduleLength = readWritesPerThread * numThreads
val rands =
(1 to scheduleLength).map(i =>
new Random(0xcafe * i)
new Random(0x0042 * i)
) // random numbers for choosing a thread at each position
def schedules(): LazyList[List[Int]] =
var contextSwitches = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment