Fix test error.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
NADAL Jean-Baptiste
2020-01-23 09:43:45 +01:00
parent 4694f4e3f0
commit 133c4c8142
3 changed files with 7 additions and 1 deletions

View File

@@ -404,7 +404,8 @@ TEST("Rest - create start access rest hook free\t")
ret = restd_server_start(rest_server);
ASSERT_EQUAL_INT(ret, 0);
sleep(1);
ret = exec_request(kget_method, "http://localhost:"kserver_port kapi_test_get, 200, ksuccess_get_body);
ASSERT_EQUAL_INT(ret, 0);