File tree 2 files changed +5
-7
lines changed
core/src/test/java/com/scalar/db/storage/cosmos
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ subprojects {
25
25
guavaVersion = ' 32.1.3-jre'
26
26
slf4jVersion = ' 1.7.36'
27
27
cassandraDriverVersion = ' 3.11.5'
28
- azureCosmosVersion = ' 4.55.1 '
28
+ azureCosmosVersion = ' 4.67.0 '
29
29
jooqVersion = ' 3.14.16'
30
30
awssdkVersion = ' 2.24.0'
31
31
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
506
506
verify (container )
507
507
.queryItems (
508
508
eq ("SELECT t.id, t.concatenatedPartitionKey FROM " + "t" ),
509
- refEq ( new CosmosQueryRequestOptions () ),
509
+ any ( CosmosQueryRequestOptions . class ),
510
510
eq (Record .class ));
511
511
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 ));
514
513
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 ));
517
515
}
518
516
519
517
@ Test
@@ -544,7 +542,7 @@ public void getNamespaceTableNames_ShouldGetTableNamesProperly() throws Executio
544
542
verify (container )
545
543
.queryItems (
546
544
eq ("SELECT * FROM metadata WHERE metadata.id LIKE 'ns.%'" ),
547
- refEq ( new CosmosQueryRequestOptions () ),
545
+ any ( CosmosQueryRequestOptions . class ),
548
546
eq (CosmosTableMetadata .class ));
549
547
}
550
548
You can’t perform that action at this time.
0 commit comments