Skip to content

Commit

Permalink
test: adjust times again
Browse files Browse the repository at this point in the history
Running the tests in a Debian container seem to be taking way too long.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit committed Sep 17, 2023
1 parent da21e02 commit 6c53ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runbg.c
Expand Up @@ -9,12 +9,12 @@ int main(void)
};

erase(file);
test(runbg(cmd, 200000), "Calling runbg");
test(runbg(cmd, 100000), "Calling runbg");

if (test(fexist(file), "Verifying %s does not yet exist", file))
return 1;

test(usleep(500000), "Waiting for runbg");
test(sleep(1), "Waiting for runbg");

if (test(!fexist(file), "Verifying %s has been created", file))
return 1;
Expand Down

0 comments on commit 6c53ee8

Please sign in to comment.