From: Maria Matejka Date: Wed, 26 Jun 2024 16:30:17 +0000 (+0200) Subject: Filter unit test uncertainty hack X-Git-Tag: v3.0.0~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa11e821743af2da3c6d2370f8d90de391b14fc8;p=thirdparty%2Fbird.git Filter unit test uncertainty hack --- diff --git a/filter/filter_test.c b/filter/filter_test.c index fe977e8d3..83501ba35 100644 --- a/filter/filter_test.c +++ b/filter/filter_test.c @@ -83,6 +83,9 @@ main(int argc, char *argv[]) bt_test_suite_arg_extra(t_reconfig, BT_CONFIG_FILE, 0, BT_TIMEOUT, "Testing reconfiguration back"); bt_test_suite_arg_extra(t_reconfig, BT_CONFIG_FILE, 0, BT_TIMEOUT, "Testing reconfiguration to the same file"); + /* Hack: this should be enough to let the other thread run and make the ROA table converge */ + birdloop_yield(); + struct f_bt_test_suite *t; WALK_LIST(t, OBSREF_GET(config)->tests) bt_test_suite_base(run_function, t->fn_name, t, 0, BT_TIMEOUT, "%s", t->dsc);