Skip to content

Commit

Permalink
Fix test of timeout PDOException: Packets out of order
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Aug 27, 2024
1 parent db41431 commit 4f41b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 4f41b3e

Please sign in to comment.