]> git.meshlink.io Git - meshlink-tiny/blobdiff - test/trio2.c
Reduce the stack size of the background thread.
[meshlink-tiny] / test / trio2.c
index dc57679e706c9ac1ceb8829bc37b0a3b661e87d9..c59aa64be6d625363a092a7d66ea955221dbbe60 100644 (file)
@@ -12,7 +12,7 @@
 #include <assert.h>
 #include <sys/time.h>
 
-#include "meshlink.h"
+#include "meshlink-tiny.h"
 #include "devtools.h"
 #include "utils.h"
 
@@ -105,13 +105,6 @@ int main(void) {
        assert(wait_sync_flag(&bar_learned_baz, 5));
        assert(wait_sync_flag(&baz_learned_bar, 5));
 
-       // Check that the second and third node autoconnect to each other
-
-       devtool_edge_t *edges = NULL;
-       size_t nedges = 0;
-       assert_after((edges = devtool_get_all_edges(mesh[1], edges, &nedges), nedges == 3), 15);
-       free(edges);
-
        // Stop the nodes nodes
 
        for(int i = 0; i < 3; i++) {