Skip to content

Commit

Permalink
small test change
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrr888 committed Jul 10, 2024
1 parent 873c2a5 commit 36ac2d1
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1555,14 +1555,15 @@ public void testCreateConditionalWriterUsesClientProps() throws Exception {
try (
ConditionalWriterImpl cw1 =
(ConditionalWriterImpl) client.createConditionalWriter(tableName);
ConditionalWriterImpl cw2 = (ConditionalWriterImpl) client
.createConditionalWriter(tableName, new ConditionalWriterConfig())) {
ConditionalWriterImpl cw2 =
(ConditionalWriterImpl) client.createConditionalWriter(tableName,
new ConditionalWriterConfig().setMaxWriteThreads(200))) {
// verify we see the non-default prop values
assertEquals(99, cw1.getConfig().getTimeout(TimeUnit.SECONDS));
assertEquals(101, cw1.getConfig().getMaxWriteThreads());
assertEquals(Durability.NONE, cw1.getConfig().getDurability());
assertEquals(99, cw2.getConfig().getTimeout(TimeUnit.SECONDS));
assertEquals(101, cw2.getConfig().getMaxWriteThreads());
assertEquals(200, cw2.getConfig().getMaxWriteThreads());
assertEquals(Durability.NONE, cw2.getConfig().getDurability());
}
}
Expand Down

0 comments on commit 36ac2d1

Please sign in to comment.