]> git.meshlink.io Git - meshlink-tiny/blobdiff - test/trio.c
Reduce the stack size of the background thread.
[meshlink-tiny] / test / trio.c
index bdb3904e37e4540faf734e4bd5c7c145f3eddd35..5b5a612f2c354c44ea02c35f60bc121ab11a74b6 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"
 
@@ -119,13 +119,6 @@ int main(void) {
 
        assert(wait_sync_flag(&received, 15));
 
-       // Check that the second and third node have autoconnected 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 first node
 
        meshlink_stop(mesh[0]);