Mercurial
diff mrjunejune/test/integration_test.c @ 173:827c6ac504cd hg-web
Merged in default here.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 19 Jan 2026 18:59:10 -0800 |
| parents | f3084bca7317 |
| children |
line wrap: on
line diff
--- a/mrjunejune/test/integration_test.c Sat Jan 10 13:35:09 2026 -0800 +++ b/mrjunejune/test/integration_test.c Mon Jan 19 18:59:10 2026 -0800 @@ -286,10 +286,8 @@ free(file_data); if (!p_resp || p_resp->status_code != 200) { - printf(" ✗ Conversion failed with status: %d\n", p_resp ? p_resp->status_code : 0); + printf(" ✗ Conversion failed with status: %d, %s\n", p_resp ? p_resp->status_code : 0, p_resp->body); if (p_resp) Seobeo_Client_Response_Destroy(p_resp); - - Seobeo_Client_Response_Destroy(p_resp); Seobeo_Client_Request_Destroy(p_req); return -1; } @@ -307,6 +305,7 @@ Seobeo_Client_Response_Destroy(p_resp); Seobeo_Client_Request_Destroy(p_req); + usleep(100000); printf(" → Testing download: GET %s\n", download_url_path); char full_download_url[1024]; snprintf(full_download_url, sizeof(full_download_url), "%s%s", TEST_URL, download_url_path); @@ -317,6 +316,7 @@ if (!p_resp || p_resp->status_code != 200) { printf(" ✗ Download failed\n"); + printf("%s\n", p_resp->body); if (p_resp) Seobeo_Client_Response_Destroy(p_resp); Seobeo_Client_Request_Destroy(p_req); return -1;