diff --git a/tests/ConnectionTest.php b/tests/ConnectionTest.php index 7b77919f..7942fd4e 100644 --- a/tests/ConnectionTest.php +++ b/tests/ConnectionTest.php @@ -132,7 +132,7 @@ public function testRestartConnectionOnTimeout(): void $db->createCommand('SET SESSION wait_timeout = 1')->execute(); - sleep(1); + sleep(2); $result = $db->createCommand("SELECT '1'")->queryScalar();