Skip to content

Commit 70c6d70

Browse files
Fixed conflict resolution policy crud test (Azure#18474)
1 parent 0cf82a4 commit 70c6d70

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/rx/MultiMasterConflictResolutionTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ public void conflictResolutionPolicyCRUD() {
8282
// when (e.StatusCode == HttpStatusCode.BadRequest)
8383
CosmosException dce = Utils.as(e, CosmosException.class);
8484
if (dce != null && dce.getStatusCode() == 400) {
85-
assertThat(dce.getMessage()).contains("Invalid path '\\\\\\\\\\\\/a\\\\\\\\\\\\/b' for last writer " +
86-
"wins conflict resolution");
85+
assertThat(dce.getMessage()).contains("Invalid path '\\\\/a\\\\/b' for last writer wins conflict resolution");
8786
} else {
8887
throw e;
8988
}

0 commit comments

Comments
 (0)