Skip to content

Commit

Permalink
Do not restart connection in transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Aug 28, 2024
1 parent 6ab58b4 commit 4cdac67
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/ConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ public function testNotRestartConnectionOnTimeoutInTransaction(): void
$db = $this->getConnection();
$db->beginTransaction();

$db->getPDO()->errorCode();

$db->createCommand('SET SESSION wait_timeout = 1')->execute();

sleep(1);
Expand Down

0 comments on commit 4cdac67

Please sign in to comment.