Skip to content

Commit 4a4ea55

Browse files
Fixed flaky test with or clause (#13300)
1 parent 06d6421 commit 4a4ea55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/cosmos/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/repository/integration/ReactiveCourseRepositoryIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public void testFindByNameAndDepartmentAllIgnoreCase() {
296296
@Test
297297
public void testFindByNameOrDepartmentAllIgnoreCase() {
298298
final Flux<Course> findResult = repository.findByNameOrDepartmentAllIgnoreCase(
299-
COURSE_NAME_3.toLowerCase(), DEPARTMENT_NAME_3.toLowerCase());
300-
StepVerifier.create(findResult).expectNext(COURSE_1, COURSE_3).verifyComplete();
299+
COURSE_NAME_1.toLowerCase(), DEPARTMENT_NAME_3.toLowerCase());
300+
StepVerifier.create(findResult).expectNext(COURSE_1).verifyComplete();
301301
}
302302
}

0 commit comments

Comments
 (0)