|
|
561fcd2 |
diff -up ./test/Main_fuzz_test.c.fuzz ./test/Main_fuzz_test.c
|
|
|
6e629fb |
--- ./test/Main_fuzz_test.c.fuzz 2020-04-09 14:01:51.000000000 -0400
|
|
|
6e629fb |
+++ ./test/Main_fuzz_test.c 2020-04-14 17:17:24.101260879 -0400
|
|
|
6e629fb |
@@ -60,8 +60,8 @@ static Iface_DEFUN incomingTun(struct Me
|
|
|
561fcd2 |
static void notLinkedYet(struct Context* ctx)
|
|
|
561fcd2 |
{
|
|
|
561fcd2 |
uint64_t now = Time_currentTimeMilliseconds(ctx->base);
|
|
|
561fcd2 |
- if ((now - ctx->startTime) > 5000) {
|
|
|
561fcd2 |
- Assert_failure("Failed to link in 5 seconds");
|
|
|
654b931 |
+ if ((now - ctx->startTime) > 200000) {
|
|
|
561fcd2 |
+ Assert_failure("Failed to link in 100 seconds");
|
|
|
561fcd2 |
}
|
|
|
561fcd2 |
}
|
|
|
561fcd2 |
|
|
|
6e629fb |
diff -up ./util/test/Seccomp_test.c.fuzz ./util/test/Seccomp_test.c
|
|
|
6e629fb |
--- ./util/test/Seccomp_test.c.fuzz 2020-04-15 20:21:02.563170274 -0400
|
|
|
ef43061 |
+++ ./util/test/Seccomp_test.c 2020-04-15 22:32:21.633653339 -0400
|
|
|
ef43061 |
@@ -61,6 +61,10 @@ static void timeout(void* vNULL)
|
|
|
ef43061 |
{
|
|
|
ef43061 |
Assert_true(!"timed out");
|
|
|
ef43061 |
}
|
|
|
ef43061 |
+static void timeout2(void* vNULL)
|
|
|
ef43061 |
+{
|
|
|
ef43061 |
+ Assert_true(!"time out 2");
|
|
|
ef43061 |
+}
|
|
|
ef43061 |
|
|
|
ef43061 |
static int child(char* pipeName, struct Allocator* alloc, struct Log* logger)
|
|
|
ef43061 |
{
|
|
|
ef43061 |
@@ -70,7 +74,7 @@ static int child(char* pipeName, struct
|
|
|
6e629fb |
pipe->logger = logger;
|
|
|
6e629fb |
pipe->userData = alloc;
|
|
|
6e629fb |
|
|
|
6e629fb |
- Timeout_setTimeout(timeout, eb, 2000, eb, alloc);
|
|
|
ef43061 |
+ Timeout_setTimeout(timeout, eb, 8000, eb, alloc);
|
|
|
6e629fb |
EventBase_beginLoop(eb);
|
|
|
6e629fb |
|
|
|
6e629fb |
return 0;
|
|
|
ef43061 |
@@ -120,7 +124,7 @@ int main(int argc, char** argv)
|
|
|
6e629fb |
|
|
|
6e629fb |
Assert_true(!Process_spawn(path, args, eb, alloc, NULL));
|
|
|
6e629fb |
|
|
|
6e629fb |
- Timeout_setTimeout(timeout, NULL, 2000, eb, alloc);
|
|
|
ef43061 |
+ Timeout_setTimeout(timeout2, NULL, 160000, eb, alloc);
|
|
|
6e629fb |
|
|
|
6e629fb |
EventBase_beginLoop(eb);
|
|
|
6e629fb |
return 0;
|