Skip to content

Commit

Permalink
[dvc] Config flag enabled for subscribing on disk partition automatic…
Browse files Browse the repository at this point in the history
…ally. Integration Test [In Writing]
  • Loading branch information
kristyelee committed Jan 12, 2025
1 parent 9bfe418 commit 7ba15f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1343,13 +1343,13 @@ public void testBootstrapSubscription(DaVinciConfig daVinciConfig) throws Except
}

client1.subscribe(partitions);
client1.unsubscribeAll();
assertEquals(client1.getPartitionCount(), 2);
assertEquals(client1.getPartitionCount(), 3);

DaVinciBackend daVinciBackend = AvroGenericDaVinciClient.getBackend();
if (daVinciBackend != null) {
StoreBackend storeBackend = daVinciBackend.getStoreOrThrow(storeName1);
ComplementSet<Integer> subscription = storeBackend.getSubscription();
subscription.removeAll(ComplementSet.wrap(partitions));
assertTrue(subscription.isEmpty());
}
}
Expand Down

0 comments on commit 7ba15f0

Please sign in to comment.