diff --git a/fireflies/src/test/java/com/salesforce/apollo/fireflies/ChurnTest.java b/fireflies/src/test/java/com/salesforce/apollo/fireflies/ChurnTest.java index b1e4cfd05..9825e45f6 100644 --- a/fireflies/src/test/java/com/salesforce/apollo/fireflies/ChurnTest.java +++ b/fireflies/src/test/java/com/salesforce/apollo/fireflies/ChurnTest.java @@ -273,7 +273,6 @@ private void initialize() { AtomicBoolean frist = new AtomicBoolean(true); final var prefix = UUID.randomUUID().toString(); final var gatewayPrefix = UUID.randomUUID().toString(); - final var executor = UnsafeExecutors.newVirtualThreadPerTaskExecutor(); views = members.values().stream().map(node -> { DynamicContext context = ctxBuilder.build(); FireflyMetricsImpl metrics = new FireflyMetricsImpl(context.getId(), @@ -283,8 +282,7 @@ private void initialize() { .setMetrics( new ServerConnectionCacheMetricsImpl( frist.getAndSet(false) ? node0Registry - : registry)), - executor); + : registry))); var gateway = new LocalServer(gatewayPrefix, node).router(ServerConnectionCache.newBuilder() .setTarget(200) .setMetrics(