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 test CertificateTests.testCertificateDescription #212

Conversation

clintonpi
Copy link
Contributor

Motivation:

The test fails when the local machine is not set to 24-hour time.

Modifications:

  • Adjust the test to use dynamic time values based on Foundation's Date instead of hard-coded time strings.

Result:

A non-flaky test.

Motivation:

The test fails when the local machine is not set to 24-hour time.

Modifications:

- Adjust the test to use dynamic time values based on Foundation's `Date` instead of hard-coded time strings.

Result:

A non-flaky test.
@Lukasa Lukasa added the semver/none No version bump required. label Dec 11, 2024
@Lukasa Lukasa enabled auto-merge (squash) December 11, 2024 20:17
@Lukasa Lukasa merged commit d381c58 into apple:main Dec 11, 2024
35 of 36 checks passed
@clintonpi clintonpi deleted the flaky-test/CertificateTests.testCertificateDescription branch December 12, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants