A flaky test, a fake timer could help to get the same timestamp at all places
https://integration.wikimedia.org/ci/job/wmf-quibble-vendor-mysql-php81-docker/888/console
00:53:05 There was 1 failure: 00:53:05 00:53:05 1) PageChangeEventSerializerTest::testCreatePageChangeVisibilityEvent 00:53:05 Failed asserting that two arrays are equal. 00:53:05 --- Expected 00:53:05 +++ Actual 00:53:05 @@ @@ 00:53:05 'performer' => Array (...) 00:53:05 'revision' => Array ( 00:53:05 'rev_id' => 29 00:53:05 - 'rev_dt' => '2022-12-15T23:43:55Z' 00:53:05 + 'rev_dt' => '2022-12-15T23:43:56Z' 00:53:05 'is_minor_edit' => false 00:53:05 'rev_sha1' => 'aqhji8gcje5j0y511s7kgskw3dd6qua' 00:53:05 'rev_size' => 9 00:53:05 00:53:05 /workspace/src/extensions/EventBus/tests/phpunit/integration/Serializers/MediaWiki/PageChangeEventSerializerTest.php:189 00:53:05 /workspace/src/extensions/EventBus/tests/phpunit/integration/Serializers/MediaWiki/PageChangeEventSerializerTest.php:540 00:53:05 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:521