@@ -36,6 +36,7 @@ static struct test test;
3636static void
3737blob_cb (EVP_BLOB_CALLBACK_REASON reason , const void * vp , void * userData )
3838{
39+ xlog_info ("%s called" , __func__ );
3940 const struct EVP_BlobResultAzureBlob * result = vp ;
4041 check_expected (reason );
4142 check_expected (result -> result );
@@ -76,8 +77,9 @@ test_http_ext_get_memory(void **state)
7677 expect_value (blob_cb , result -> result , EVP_BLOB_RESULT_SUCCESS );
7778 expect_value (blob_cb , result -> http_status , HTTP_STATUS_OK );
7879 expect_value (blob_cb , result -> error , 0 );
79- result = EVP_processEvent (ctxt -> client , 1000 );
80+ result = EVP_processEvent (ctxt -> client , -1 );
8081 assert_int_equal (result , EVP_OK );
82+ xlog_info ("%s done" , __func__ );
8183
8284 EVP_BlobRequestHttpExt_free (request );
8385}
@@ -113,8 +115,9 @@ test_http_ext_get_file(void **state)
113115 expect_value (blob_cb , result -> result , EVP_BLOB_RESULT_SUCCESS );
114116 expect_value (blob_cb , result -> http_status , HTTP_STATUS_OK );
115117 expect_value (blob_cb , result -> error , 0 );
116- result = EVP_processEvent (ctxt -> client , 1000 );
118+ result = EVP_processEvent (ctxt -> client , -1 );
117119 assert_int_equal (result , EVP_OK );
120+ xlog_info ("%s done" , __func__ );
118121
119122 EVP_BlobRequestHttpExt_free (request );
120123}
@@ -148,8 +151,9 @@ test_http_ext_put_file(void **state)
148151 expect_value (blob_cb , result -> result , EVP_BLOB_RESULT_SUCCESS );
149152 expect_value (blob_cb , result -> http_status , HTTP_STATUS_OK );
150153 expect_value (blob_cb , result -> error , 0 );
151- result = EVP_processEvent (ctxt -> client , 1000 );
154+ result = EVP_processEvent (ctxt -> client , -1 );
152155 assert_int_equal (result , EVP_OK );
156+ xlog_info ("%s done" , __func__ );
153157
154158 EVP_BlobRequestHttpExt_free (request );
155159}
@@ -187,8 +191,9 @@ test_http_ext_get_file_range(void **state)
187191 expect_value (blob_cb , result -> result , EVP_BLOB_RESULT_SUCCESS );
188192 expect_value (blob_cb , result -> http_status , HTTP_STATUS_OK );
189193 expect_value (blob_cb , result -> error , 0 );
190- result = EVP_processEvent (ctxt -> client , 1000 );
194+ result = EVP_processEvent (ctxt -> client , -1 );
191195 assert_int_equal (result , EVP_OK );
196+ xlog_info ("%s done" , __func__ );
192197
193198 EVP_BlobRequestHttpExt_free (request );
194199}
@@ -231,8 +236,9 @@ test_http_ext_get_file_range_azure(void **state)
231236 expect_value (blob_cb , result -> result , EVP_BLOB_RESULT_SUCCESS );
232237 expect_value (blob_cb , result -> http_status , HTTP_STATUS_OK );
233238 expect_value (blob_cb , result -> error , 0 );
234- result = EVP_processEvent (ctxt -> client , 1000 );
239+ result = EVP_processEvent (ctxt -> client , -1 );
235240 assert_int_equal (result , EVP_OK );
241+ xlog_info ("%s done" , __func__ );
236242
237243 EVP_BlobRequestHttpExt_free (request );
238244}
@@ -270,8 +276,9 @@ test_http_ext_get_null_memory_range_azure(void **state)
270276 expect_value (blob_cb , result -> result , EVP_BLOB_RESULT_SUCCESS );
271277 expect_value (blob_cb , result -> http_status , HTTP_STATUS_OK );
272278 expect_value (blob_cb , result -> error , 0 );
273- result = EVP_processEvent (ctxt -> client , 1000 );
279+ result = EVP_processEvent (ctxt -> client , -1 );
274280 assert_int_equal (result , EVP_OK );
281+ xlog_info ("%s done" , __func__ );
275282
276283 EVP_BlobRequestHttpExt_free (request );
277284}
0 commit comments