From aa11e821743af2da3c6d2370f8d90de391b14fc8 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 26 Jun 2024 18:30:17 +0200 Subject: [PATCH] Filter unit test uncertainty hack --- filter/filter_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/filter/filter_test.c b/filter/filter_test.c index fe977e8d..83501ba3 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);