Skip to content

Commit 5fb2ef9

Browse files
committed
debug
1 parent 17e3ce5 commit 5fb2ef9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/topology.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ using Random
9494
end
9595
end
9696

97+
@info "finished TopoTestManager"
9798
remove_workers_and_test()
9899

99100
# test `lazy` connection setup
@@ -109,6 +110,7 @@ using Random
109110
addprocs_with_testenv(8)
110111
def_count_conn()
111112

113+
@info "10 random combinations"
112114
# Test for 10 random combinations
113115
wl = workers()
114116
combinations = []
@@ -136,12 +138,14 @@ using Random
136138
end
137139
end
138140

141+
@info "finished master-worker"
139142
# With lazy=false, all connections ought to be setup during `addprocs`
140143
nprocs() > 1 && rmprocs(workers())
141144
addprocs_with_testenv(8; lazy=false)
142145
def_count_conn()
143146
@test sum(asyncmap(p->remotecall_fetch(count_connected_workers,p), workers())) == 64
144147

148+
@info "finished lazy=false"
145149
# Cannot add more workers with a different `lazy` value
146150
@test_throws ArgumentError addprocs_with_testenv(1; lazy=true)
147151
end

0 commit comments

Comments
 (0)