Skip to content

Commit

Permalink
Fix serviceStore test
Browse files Browse the repository at this point in the history
  • Loading branch information
gs-manvig committed Mar 21, 2024
1 parent f387840 commit 8a61009
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void testServiceLoader()
{
List<StoreExecutorBuilder> builders = new ArrayList<>();
ServiceLoader.load(StoreExecutorBuilder.class).forEach(builders::add);
Assert.assertEquals(2, builders.size());
Assert.assertEquals(3, builders.size());
StoreExecutorBuilder builder = builders.get(0);
Assert.assertTrue(builder instanceof ServiceStoreExecutorBuilder);
ServiceStoreExecutor executor = ((ServiceStoreExecutorBuilder) builder).build();
Expand All @@ -56,7 +56,7 @@ public void testServiceLoader()
public void testPlanExecutorLoader()
{
List<StoreExecutorBuilder> builders = PlanExecutor.loadStoreExecutorBuilders();
Assert.assertEquals(2, builders.size());
Assert.assertEquals(3, builders.size());
StoreExecutorBuilder builder = builders.get(0);
Assert.assertTrue(builder instanceof ServiceStoreExecutorBuilder);
ServiceStoreExecutor executor = ((ServiceStoreExecutorBuilder) builder).build();
Expand Down

0 comments on commit 8a61009

Please sign in to comment.