Skip to content

Commit 519ed81

Browse files
FanYuliangschauder
authored andcommitted
Fixing Flakiness in UserRepositoryStoredProcedureIntegrationTests
Original pull request spring-projects#2364
1 parent 2b37dc2 commit 519ed81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/springframework/data/jpa/repository/UserRepositoryStoredProcedureIntegrationTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ void entityAnnotatedCustomNamedProcedurePlus1IO2() {
9696

9797
Map<String, Integer> result = repository.entityAnnotatedCustomNamedProcedurePlus1IO2(1);
9898

99-
assertThat(result).containsExactly(entry("res", 2), entry("res2", 3));
99+
assertThat(result).containsOnly(entry("res", 2), entry("res2", 3));
100100
}
101101

102102
@Test // DATAJPA-1579
103103
void entityAnnotatedCustomNamedProcedurePlus1IOoptional() {
104104

105105
Map<String, Integer> result = repository.entityAnnotatedCustomNamedProcedurePlus1IOoptional(1);
106106

107-
assertThat(result).containsExactly(entry("res", 2), entry("res2", null));
107+
assertThat(result).containsOnly(entry("res", 2), entry("res2", null));
108108
}
109109

110110
@Test // DATAJPA-455

0 commit comments

Comments
 (0)