Skip to content

Commit

Permalink
reverse doc order
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangs18 committed Jan 13, 2024
1 parent b137ff7 commit 91b6f04
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,17 @@ public void indexesConfigApp() {
}
}
assertThat("incorrect indexes", indexes, is(set(
// new Document("v", indexVer)
// .append("unique", true)
// .append("key", new Document("key", 1))
// .append("name", "key_1"),
new Document("v", indexVer)
.append("key", new Document("_id", 1))
.append("name", "_id_"),
new Document("v", indexVer)
.append("unique", true)
.append("key", new Document("key", 1))
.append("name", "key_1"),
new Document("v", indexVer)
.append("key", new Document("_id", 1))
.append("name", "_id_")
.append("name", "key_1")
)));
}

Expand Down

0 comments on commit 91b6f04

Please sign in to comment.