diff --git a/frontend/test-client/src/agent/mock-agent.ts b/frontend/test-client/src/agent/mock-agent.ts index bbed0ef2..2dc4ec99 100644 --- a/frontend/test-client/src/agent/mock-agent.ts +++ b/frontend/test-client/src/agent/mock-agent.ts @@ -229,7 +229,7 @@ export class MockAgent extends MockClient { ); assert( fileContent.split(content).length == 2, - `Content ${content} (of ${this.name}) found more than once in file ${file}. File content:\n${fileContent}` + `Content ${content} (of ${this.name}) found more than once in '${file}'. File content:\n${fileContent}` ); } } diff --git a/frontend/test-client/src/cli.ts b/frontend/test-client/src/cli.ts index 02e86237..85fb3c43 100644 --- a/frontend/test-client/src/cli.ts +++ b/frontend/test-client/src/cli.ts @@ -109,28 +109,20 @@ async function runTest({ } async function runTests(): Promise { - const agentCounts = [2, 8]; - const networkJitterScaleInSeconds = [0.5, 2]; - const concurrencies = [ + for (const concurrency of [ 16, 1 // test with concurrency 1 to check for deadlocks - ]; - - for (const agentCount of agentCounts) { - for (const concurrency of concurrencies) { - for (const jitter of networkJitterScaleInSeconds) { - for (const doDeletes of [true, false]) { - for (const useSlowFileEvents of [true, false]) { - await runTest({ - agentCount, - concurrency, - iterations: 200, - doDeletes, - useSlowFileEvents, - jitterScaleInSeconds: jitter - }); - } - } + ]) { + for (const doDeletes of [true, false]) { + for (const useSlowFileEvents of [true, false]) { + await runTest({ + agentCount: 4, + concurrency, + iterations: 200, + doDeletes, + useSlowFileEvents, + jitterScaleInSeconds: 0.75 + }); } } }