From 6e629fb1adb48940264c8b2851d6130a5aa5b186 Mon Sep 17 00:00:00 2001 From: "Stuart D. Gathman" Date: Wed, 15 Apr 2020 20:23:38 -0400 Subject: [PATCH] Increase Seccomp_test timeout --- cjdns.fuzz.patch | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/cjdns.fuzz.patch b/cjdns.fuzz.patch index 33b4ada..2cbbccf 100644 --- a/cjdns.fuzz.patch +++ b/cjdns.fuzz.patch @@ -1,7 +1,7 @@ diff -up ./test/Main_fuzz_test.c.fuzz ./test/Main_fuzz_test.c ---- ./test/Main_fuzz_test.c.fuzz 2019-05-08 19:31:34.995364838 -0400 -+++ ./test/Main_fuzz_test.c 2019-05-08 19:31:51.955608910 -0400 -@@ -59,8 +59,8 @@ static Iface_DEFUN incomingTun(struct Me +--- ./test/Main_fuzz_test.c.fuzz 2020-04-09 14:01:51.000000000 -0400 ++++ ./test/Main_fuzz_test.c 2020-04-14 17:17:24.101260879 -0400 +@@ -60,8 +60,8 @@ static Iface_DEFUN incomingTun(struct Me static void notLinkedYet(struct Context* ctx) { uint64_t now = Time_currentTimeMilliseconds(ctx->base); @@ -12,3 +12,24 @@ diff -up ./test/Main_fuzz_test.c.fuzz ./test/Main_fuzz_test.c } } +diff -up ./util/test/Seccomp_test.c.fuzz ./util/test/Seccomp_test.c +--- ./util/test/Seccomp_test.c.fuzz 2020-04-15 20:21:02.563170274 -0400 ++++ ./util/test/Seccomp_test.c 2020-04-15 20:21:22.893491368 -0400 +@@ -70,7 +70,7 @@ static int child(char* pipeName, struct + pipe->logger = logger; + pipe->userData = alloc; + +- Timeout_setTimeout(timeout, eb, 2000, eb, alloc); ++ Timeout_setTimeout(timeout, eb, 3000, eb, alloc); + EventBase_beginLoop(eb); + + return 0; +@@ -120,7 +120,7 @@ int main(int argc, char** argv) + + Assert_true(!Process_spawn(path, args, eb, alloc, NULL)); + +- Timeout_setTimeout(timeout, NULL, 2000, eb, alloc); ++ Timeout_setTimeout(timeout, NULL, 3000, eb, alloc); + + EventBase_beginLoop(eb); + return 0;