Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky TickingMockClock tests #556

Merged
merged 1 commit into from
Nov 18, 2023
Merged

Fix flaky TickingMockClock tests #556

merged 1 commit into from
Nov 18, 2023

Conversation

marmichalski
Copy link
Contributor

No description provided.

@@ -16,8 +16,6 @@ public static function assertDateTimeLessThanOneSecondAfter(
\DateTimeInterface $expected,
\DateTimeInterface $actual
): void {
Assert::assertNotSame($expected->format('Y-m-d\TH:i:s.u'), $actual->format('Y-m-d\TH:i:s.u'));
Copy link
Contributor Author

@marmichalski marmichalski Nov 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same time still qualifies as less than one second after, I would assume

@marmichalski marmichalski added this pull request to the merge queue Nov 18, 2023
Merged via the queue into master with commit 4a225d1 Nov 18, 2023
@marmichalski marmichalski deleted the flak branch November 18, 2023 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants