Skip to content

Conversation

@mattjala
Copy link
Contributor

@mattjala mattjala commented Dec 12, 2024

  • Prevent domain name conflict during tests

Tests use the timestamp to generate unique domain names and avoid conflicts. On windows, the timestamp resolution is low enough that these sometimes have the same timestamp and still conflict with a 409 error.

This replaces the timestamp with an 8-character random string, which should have less than a one in a million chance of a name conflict.

We should probably remove the duplicated test helpers at some point, but it seems like setting up a shared import between the tests that would use it is non-trivial

@mattjala mattjala added bug ci/cd Issues related to the CI/CD setup and execution labels Dec 12, 2024
@mattjala mattjala self-assigned this Dec 12, 2024
@jreadey jreadey self-requested a review December 13, 2024 19:37
Copy link
Member

@jreadey jreadey left a comment

Choose a reason for hiding this comment

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

lgtm

@jreadey jreadey merged commit 49e2fd5 into HDFGroup:master Dec 13, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug ci/cd Issues related to the CI/CD setup and execution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants