File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
core/src/test/java/com/scalar/db/storage/cosmos Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ subprojects {
2525 guavaVersion = ' 32.1.3-jre'
2626 slf4jVersion = ' 1.7.36'
2727 cassandraDriverVersion = ' 3.11.5'
28- azureCosmosVersion = ' 4.53.1 '
28+ azureCosmosVersion = ' 4.67.0 '
2929 jooqVersion = ' 3.14.16'
3030 awssdkVersion = ' 2.22.3'
3131 commonsDbcp2Version = ' 2.11.0'
Original file line number Diff line number Diff line change @@ -506,14 +506,12 @@ public void truncateTable_WithExistingRecords_ShouldDeleteAllRecords() throws Ex
506506 verify (container )
507507 .queryItems (
508508 eq ("SELECT t.id, t.concatenatedPartitionKey FROM " + "t" ),
509- refEq ( new CosmosQueryRequestOptions () ),
509+ any ( CosmosQueryRequestOptions . class ),
510510 eq (Record .class ));
511511 verify (container )
512- .deleteItem (
513- eq ("id1" ), refEq (new PartitionKey ("p1" )), refEq (new CosmosItemRequestOptions ()));
512+ .deleteItem (eq ("id1" ), refEq (new PartitionKey ("p1" )), any (CosmosItemRequestOptions .class ));
514513 verify (container )
515- .deleteItem (
516- eq ("id2" ), refEq (new PartitionKey ("p2" )), refEq (new CosmosItemRequestOptions ()));
514+ .deleteItem (eq ("id2" ), refEq (new PartitionKey ("p2" )), any (CosmosItemRequestOptions .class ));
517515 }
518516
519517 @ Test
@@ -544,7 +542,7 @@ public void getNamespaceTableNames_ShouldGetTableNamesProperly() throws Executio
544542 verify (container )
545543 .queryItems (
546544 eq ("SELECT * FROM metadata WHERE metadata.id LIKE 'ns.%'" ),
547- refEq ( new CosmosQueryRequestOptions () ),
545+ any ( CosmosQueryRequestOptions . class ),
548546 eq (CosmosTableMetadata .class ));
549547 }
550548
You can’t perform that action at this time.
0 commit comments