Skip to content

Commit

Permalink
Ensure event listeners are still unregistered after an operation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola authored and alcaeus committed Sep 20, 2024
1 parent b142235 commit 8921152
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/UnifiedSpecTests/UnifiedTestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,9 @@ private function doTestCase(stdClass $test, string $schemaVersion, ?array $runOn
$operation = new Operation($o, $context);
$operation->assert();
}

} finally {
$context->stopEventObservers();
$context->stopEventCollectors();
} finally {
$context->disableFailPoints();
}

Expand Down

0 comments on commit 8921152

Please sign in to comment.