Continuing to try to get this thing talking to other clients.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3679 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -134,6 +134,7 @@ void tf_ssb_test_ssb(const tf_test_options_t* options)
|
||||
tf_ssb_id_str_to_bin(id0bin, id0);
|
||||
tf_ssb_connect(ssb1, "127.0.0.1", 12347, id0bin);
|
||||
|
||||
printf("Waiting for connection.\n");
|
||||
while (test.connection_count0 != 1 ||
|
||||
test.connection_count1 != 1)
|
||||
{
|
||||
@ -141,12 +142,13 @@ void tf_ssb_test_ssb(const tf_test_options_t* options)
|
||||
}
|
||||
tf_ssb_server_close(ssb0);
|
||||
|
||||
printf("Waiting for messages.\n");
|
||||
while (_ssb_test_count_messages(ssb1) < 3)
|
||||
{
|
||||
uv_run(&loop, UV_RUN_ONCE);
|
||||
}
|
||||
|
||||
printf("waiting for blob\n");
|
||||
printf("Waiting for blob.\n");
|
||||
while (!tf_ssb_db_blob_get(ssb1, blob_id, NULL, NULL))
|
||||
{
|
||||
uv_run(&loop, UV_RUN_ONCE);
|
||||
|
Reference in New Issue
Block a user