From 5315bc3712d557de87c96dbe05b54ce312c07209 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 28 Jan 2023 15:29:55 +0000 Subject: [PATCH] Possibly fix the test problems --- tests/FixtureTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/FixtureTest.php b/tests/FixtureTest.php index d16119dd91..dac71f0cf6 100644 --- a/tests/FixtureTest.php +++ b/tests/FixtureTest.php @@ -82,7 +82,10 @@ abstract class FixtureTest extends DatabaseTest $dba->setTestmode(true); - DBStructure::checkInitialValues(); + if (DI::lock()->acquire('Test-checkInitialValues', 0)) { + DBStructure::checkInitialValues(); + DI::lock()->release('Test-checkInitialValues'); + } // Load the API dataset for the whole API $this->loadFixture(__DIR__ . '/datasets/api.fixture.php', $dba); -- 2.39.5