From 6c53ee819b555544dd9ecf14ff7b1dccad6ef758 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 17 Sep 2023 12:26:08 +0200 Subject: [PATCH] test: adjust times again Running the tests in a Debian container seem to be taking way too long. Signed-off-by: Joachim Wiberg --- test/runbg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runbg.c b/test/runbg.c index 9b50c7f..a180bac 100644 --- a/test/runbg.c +++ b/test/runbg.c @@ -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;