Skip to content

Commit

Permalink
PHPLIB-1270: targetedFailPoint should assert that session is pinned
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Oct 3, 2023
1 parent b4a7b2f commit 90be148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/SpecTests/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ private function executeForTestRunner(FunctionalTestCase $test, Context $context

case 'targetedFailPoint':
$test->assertInstanceOf(Session::class, $args['session']);
$test->assertInstanceOf(Server::class, $args['session']->getServer());
$test->configureFailPoint($this->arguments['failPoint'], $args['session']->getServer());

return null;
Expand Down

0 comments on commit 90be148

Please sign in to comment.