Skip to content

Commit

Permalink
Fixed ZK cache test exectutor configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat committed Mar 6, 2018
1 parent 97c2b44 commit aaca4f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void teardown() throws Exception {

@BeforeClass
void classSetup() throws Exception {
executor = OrderedScheduler.newSchedulerBuilder().maxTasksInQueue(1).name("ZookeeperCacheTest").build();
executor = OrderedScheduler.newSchedulerBuilder().numThreads(1).name("ZookeeperCacheTest").build();
scheduledExecutor = Executors.newSingleThreadScheduledExecutor();
}

Expand Down

0 comments on commit aaca4f7

Please sign in to comment.