Updated tests/examples

This commit is contained in:
Joseph Henry
2017-12-14 16:28:49 -08:00
parent 3ba3b3fc65
commit 998cc99ad1
5 changed files with 12 additions and 51 deletions

View File

@@ -2694,12 +2694,12 @@ int main(int argc , char *argv[])
DEBUG_ERROR("invalid pathname was given");
exit(-1);
}
//uint64_t nwid = strtoull(argv[2],NULL,16);
uint64_t nwid = strtoull(argv[2],NULL,16);
uint64_t nodeId = zts_get_node_id();
zts_start(argv[3], true);
//zts_join(nwid);
//sleep(5);
zts_join(nwid);
sleep(2);
DEBUG_TEST("generated id: %llx", nodeId);
exit(0);
}