From f9c8d1c1646d11bcd8f408e86a8d0e4290eb1261 Mon Sep 17 00:00:00 2001 From: Serhii Varakuta Date: Wed, 17 Jul 2024 11:52:21 +0300 Subject: [PATCH] Fix DA count tests --- src/test/test_config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/test_config.c b/src/test/test_config.c index 11de86e128..e63b13f09b 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -2004,10 +2004,10 @@ test_config_adding_default_trusted_dir_servers(void *arg) // tt_int_op(get_n_authorities(BRIDGE_DIRINFO), OP_EQ, 1); // tt_int_op(smartlist_len(router_get_fallback_dir_servers()), OP_EQ, 1); - /* Assume we have three V3 authorities */ + /* Assume we have at least three V3 authorities */ add_default_trusted_dir_authorities(V3_DIRINFO); - tt_int_op(get_n_authorities(V3_DIRINFO), OP_EQ, 7); - tt_int_op(smartlist_len(router_get_fallback_dir_servers()), OP_EQ, 7); + tt_int_op(get_n_authorities(V3_DIRINFO), OP_GE, 3); + tt_int_op(smartlist_len(router_get_fallback_dir_servers()), OP_GE, 3); done: clear_dir_servers();