From 53a99af85d0296699c6dce1be4d0eae227d2d20b Mon Sep 17 00:00:00 2001 From: Kushagra Thapar Date: Fri, 17 Jul 2020 12:25:44 -0700 Subject: [PATCH] Fixed flaky test with or clause --- .../repository/integration/ReactiveCourseRepositoryIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/cosmos/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/repository/integration/ReactiveCourseRepositoryIT.java b/sdk/cosmos/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/repository/integration/ReactiveCourseRepositoryIT.java index afa98e5f4b69..9b18e8bf3e94 100644 --- a/sdk/cosmos/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/repository/integration/ReactiveCourseRepositoryIT.java +++ b/sdk/cosmos/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/repository/integration/ReactiveCourseRepositoryIT.java @@ -274,7 +274,7 @@ public void testFindByNameAndDepartmentAllIgnoreCase() { @Test public void testFindByNameOrDepartmentAllIgnoreCase() { final Flux findResult = repository.findByNameOrDepartmentAllIgnoreCase( - COURSE_NAME_3.toLowerCase(), DEPARTMENT_NAME_3.toLowerCase()); - StepVerifier.create(findResult).expectNext(COURSE_1, COURSE_3).verifyComplete(); + COURSE_NAME_1.toLowerCase(), DEPARTMENT_NAME_3.toLowerCase()); + StepVerifier.create(findResult).expectNext(COURSE_1).verifyComplete(); } }