File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
base/src/main/java/software/xdev/tci/network Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ # 2.7.2
2+ * ` LazyNetwork ` : Use explicitly defined ` ExecutorService `
3+ * Updated dependencies
4+
15# 2.7.1
26* Readd missing whitespace in ` TCITracer `
37
Original file line number Diff line number Diff line change 4040import com .github .dockerjava .api .DockerClient ;
4141import com .github .dockerjava .api .command .CreateNetworkCmd ;
4242
43+ import software .xdev .tci .concurrent .TCIExecutorServiceHolder ;
44+
4345
4446/**
4547 * A better implementation of {@link Network} in relation to {@link org.testcontainers.containers.Network.NetworkImpl}.
@@ -88,7 +90,7 @@ public class LazyNetwork implements Network
8890
8991 public LazyNetwork create ()
9092 {
91- return this .create (CompletableFuture :: runAsync );
93+ return this .create (r -> CompletableFuture . runAsync ( r , TCIExecutorServiceHolder . instance ()) );
9294 }
9395
9496 public LazyNetwork create (final Function <Runnable , CompletableFuture <Void >> executor )
You can’t perform that action at this time.
0 commit comments