Skip to content

Commit b54ac12

Browse files
committed
#2201: test running LB on first phase
1 parent d16cfb8 commit b54ac12

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/unit/collection/test_lb.extended.cc

+10
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ TEST_P(TestLoadBalancerOther, test_load_balancer_other_keep_last_elm) {
150150
runTest(GetParam(), "test_load_balancer_other_keep_last_elm");
151151
}
152152

153+
TEST_P(TestLoadBalancerOther, test_load_balancer_other_run_lb_first_phase) {
154+
vt::theConfig()->vt_lb_run_lb_first_phase = true;
155+
runTest(GetParam(), "test_load_balancer_other_keep_last_elm");
156+
}
157+
153158
TEST_P(TestLoadBalancerGreedy, test_load_balancer_greedy_2) {
154159
runTest(GetParam(), "test_load_balancer_greedy_2");
155160
}
@@ -159,6 +164,11 @@ TEST_P(TestLoadBalancerGreedy, test_load_balancer_greedy_keep_last_elm) {
159164
runTest(GetParam(), "test_load_balancer_greedy_keep_last_elm");
160165
}
161166

167+
TEST_P(TestLoadBalancerGreedy, test_load_balancer_greedy_run_lb_first_phase) {
168+
vt::theConfig()->vt_lb_run_lb_first_phase = true;
169+
runTest(GetParam(), "test_load_balancer_greedy_keep_last_elm");
170+
}
171+
162172
TEST_F(TestLoadBalancerOther, test_make_graph_symmetric) {
163173
// setup
164174
auto const this_node = theContext()->getNode();

0 commit comments

Comments
 (0)