diff --git a/tests/mutex/MutexConcurrencyTest.php b/tests/mutex/MutexConcurrencyTest.php index ad5c6f05..97e733bd 100644 --- a/tests/mutex/MutexConcurrencyTest.php +++ b/tests/mutex/MutexConcurrencyTest.php @@ -103,6 +103,11 @@ public function testHighContention(\Closure $code, \Closure $mutexFactory): void $counter = $code(0); self::assertSame($concurrency * $iterations, $counter); + + // workaround for burn testing + foreach (static::$temporaryFiles as $filename) { + file_put_contents($filename, '0'); + } } /**