@@ -124,20 +124,20 @@ using Random
124124 end
125125 end
126126
127- # Initially only master-worker connections ought to be setup
128- expected_num_conns = 8
129- let num_conns = sum (asyncmap (p-> remotecall_fetch (count_connected_workers,p), workers ()))
130- @test num_conns == expected_num_conns
131- end
132-
133- # for (i, (from,to)) in enumerate(combinations)
134- # remotecall_wait(topid->remotecall_fetch(myid, topid), from, to)
135- # expected_num_conns += 2 # one connection endpoint on both from and to
136- # let num_conns = sum(asyncmap(p->remotecall_fetch(count_connected_workers,p), workers()))
137- # @test num_conns == expected_num_conns
138- # end
127+ # # Initially only master-worker connections ought to be setup
128+ # expected_num_conns = 8
129+ # let num_conns = sum(asyncmap(p->remotecall_fetch(count_connected_workers,p), workers()))
130+ # @test num_conns == expected_num_conns
139131 # end
140132
133+ for (i, (from,to)) in enumerate (combinations)
134+ remotecall_wait (topid-> remotecall_fetch (myid, topid), from, to)
135+ expected_num_conns += 2 # one connection endpoint on both from and to
136+ let num_conns = sum (asyncmap (p-> remotecall_fetch (count_connected_workers,p), workers ()))
137+ @test num_conns == expected_num_conns
138+ end
139+ end
140+
141141 @info " finished master-worker"
142142 # With lazy=false, all connections ought to be setup during `addprocs`
143143 @show workers ()
0 commit comments