Skip to content

Commit 5e3c8de

Browse files
authored
fix:nondeterminism in S3PropertySourceTest (#1538)
1 parent f07c6b5 commit 5e3c8de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-aws-s3/src/test/java/io/awspring/cloud/s3/config/S3PropertySourceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void shouldParseDifferentFilesFromBucket(String sourceFileName, String contents,
6262
propertySource.init();
6363

6464
assertThat(propertySource.getName()).isEqualTo("aws-s3:test-bucket/" + sourceFileName);
65-
assertThat(propertySource.getPropertyNames()).containsExactly("key1", "key2");
65+
assertThat(propertySource.getPropertyNames()).containsExactlyInAnyOrder("key1", "key2");
6666
assertThat(propertySource.getProperty("key2")).isEqualTo("value2");
6767
}
6868

0 commit comments

Comments
 (0)