From: Guus Sliepen Date: Thu, 23 Jul 2020 22:06:26 +0000 (+0200) Subject: Fix the import-export test failing sporadically. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=0e1a437e75080dec585b502ee0031fdb8c1d2468;p=meshlink Fix the import-export test failing sporadically. Since two nodes connecting simultaneously can cause a node to be seen as temporarily being down, thus setting the last_unreachable status. --- diff --git a/test/import-export.c b/test/import-export.c index 15e21344..b1872587 100644 --- a/test/import-export.c +++ b/test/import-export.c @@ -102,7 +102,6 @@ int main(void) { assert(meshlink_get_node_reachability(mesh1, bar, &last_reachable, &last_unreachable)); assert(last_reachable); - assert(!last_unreachable); // Stop the meshes.