mirror of
https://github.com/lammertb/libhttp.git
synced 2025-12-22 04:02:04 +03:00
Unit test: remove printf again, since they do not help
Travis CI fails with "(after this point) Test timeout expired" The idea was to print something to stdout every some seconds, but this does not help. Thus, the printf lines are removed again.
This commit is contained in:
@@ -74,14 +74,14 @@ static int wait_not_null(void *volatile *data)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < 100; i++) {
|
for (i = 0; i < 100; i++) {
|
||||||
printf("Waiting for response ... %i\n", i);
|
/* printf("Waiting for response ... %i\n", i); */s
|
||||||
test_sleep(1);
|
test_sleep(1);
|
||||||
if (*data != NULL) {
|
if (*data != NULL) {
|
||||||
printf("Waiting for response ... %i (done)\n", i);
|
/* printf("Waiting for response ... %i (done)\n", i); */
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
printf("Waiting for response ... %i (failed)\n", i);
|
/* printf("Waiting for response ... %i (failed)\n", i); */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user