From 68482e668c0e190369c5b3705f0da5c7ebf85e9e Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Sat, 2 Nov 2024 21:57:51 +0100 Subject: [PATCH] debug --- test/topology.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/topology.jl b/test/topology.jl index 5426dcc..7755ec3 100644 --- a/test/topology.jl +++ b/test/topology.jl @@ -94,6 +94,7 @@ using Random end end + @info "finished TopoTestManager" remove_workers_and_test() # test `lazy` connection setup @@ -109,6 +110,7 @@ using Random addprocs_with_testenv(8) def_count_conn() + @info "10 random combinations" # Test for 10 random combinations wl = workers() combinations = [] @@ -136,12 +138,14 @@ using Random end end + @info "finished master-worker" # With lazy=false, all connections ought to be setup during `addprocs` nprocs() > 1 && rmprocs(workers()) addprocs_with_testenv(8; lazy=false) def_count_conn() @test sum(asyncmap(p->remotecall_fetch(count_connected_workers,p), workers())) == 64 + @info "finished lazy=false" # Cannot add more workers with a different `lazy` value @test_throws ArgumentError addprocs_with_testenv(1; lazy=true) end