Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Conversation

@CharlesZKQ
Copy link

In org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBeanIntegrationTest, the test handleArchiveFileLocation() is flaky due to the non-deterministic property of java.io.File.listFiles() (please refer document). I fixed it by sorting the array of File for both the expectedSnapshots and actualSnapshots, which eliminates the flakiness of this test.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants