Skip to content

Commit 042b337

Browse files
author
alexandre-perrin
committed
wip: add trace and no timeout
1 parent 78db25e commit 042b337

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/src/st-nohub/test_blob_type_http.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ test_http_get_memory(void **state)
6565
expect_value(blob_cb, result->result, EVP_BLOB_RESULT_SUCCESS);
6666
expect_value(blob_cb, result->http_status, HTTP_STATUS_OK);
6767
expect_value(blob_cb, result->error, 0);
68-
result = EVP_processEvent(ctxt->client, 1000);
68+
result = EVP_processEvent(ctxt->client, -1);
6969
assert_int_equal(result, EVP_OK);
70+
xlog_info("%s done", __func__);
7071
}
7172

7273
void
@@ -98,8 +99,9 @@ test_http_get_file(void **state)
9899
expect_value(blob_cb, result->result, EVP_BLOB_RESULT_SUCCESS);
99100
expect_value(blob_cb, result->http_status, HTTP_STATUS_OK);
100101
expect_value(blob_cb, result->error, 0);
101-
result = EVP_processEvent(ctxt->client, 10000);
102+
result = EVP_processEvent(ctxt->client, -1);
102103
assert_int_equal(result, EVP_OK);
104+
xlog_info("%s done", __func__);
103105
}
104106

105107
void
@@ -129,8 +131,9 @@ test_http_put_file(void **state)
129131
expect_value(blob_cb, result->result, EVP_BLOB_RESULT_SUCCESS);
130132
expect_value(blob_cb, result->http_status, HTTP_STATUS_OK);
131133
expect_value(blob_cb, result->error, 0);
132-
result = EVP_processEvent(ctxt->client, 1000);
134+
result = EVP_processEvent(ctxt->client, -1);
133135
assert_int_equal(result, EVP_OK);
136+
xlog_info("%s done", __func__);
134137
}
135138

136139
int

0 commit comments

Comments
 (0)