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 brittle test #1529

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Fix brittle test #1529

merged 1 commit into from
Mar 13, 2024

Conversation

manuteleco
Copy link
Contributor

This test was failing sometimes due to a mismatch in clocks between Go and the filesystem, with messages like this one:

listed bucket has unexpected creation time. Expected between test
start time 2024-03-10 06:58:36.004471224 +0000 UTC m=+0.048304750
   and now 2024-03-10 06:58:36.006076153 +0000 UTC m=+0.049909699
   actual: 2024-03-10 06:58:35.999266041 +0000 UTC

This test was failing sometimes due to a mismatch in clocks between Go
and the filesystem, with messages like this one:

```
listed bucket has unexpected creation time. Expected between test
start time 2024-03-10 06:58:36.004471224 +0000 UTC m=+0.048304750
   and now 2024-03-10 06:58:36.006076153 +0000 UTC m=+0.049909699
   actual: 2024-03-10 06:58:35.999266041 +0000 UTC
```
Copy link
Owner

@fsouza fsouza left a comment

Choose a reason for hiding this comment

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

Thank you for contributing and apologies for the delayed review.

@fsouza fsouza merged commit 13d5e1a into fsouza:main Mar 13, 2024
27 checks passed
@manuteleco manuteleco deleted the fix_brittle_test branch March 14, 2024 19:22
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