From f2669eebd554c71fdb8fa609506c61fc3644224c Mon Sep 17 00:00:00 2001 From: Matt Morehouse Date: Thu, 16 May 2019 04:00:41 +0000 Subject: [PATCH] [libFuzzer] Increase merge-sigusr sleep after sending signal. Test is flaky on buildbot at least partially due to the fuzz target not exiting before we read its output. llvm-svn: 360848 --- compiler-rt/test/fuzzer/merge-sigusr.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/fuzzer/merge-sigusr.test b/compiler-rt/test/fuzzer/merge-sigusr.test index 69532f1..89c523d 100644 --- a/compiler-rt/test/fuzzer/merge-sigusr.test +++ b/compiler-rt/test/fuzzer/merge-sigusr.test @@ -19,7 +19,7 @@ RUN: %run %t/LFSIGUSR -merge=1 -merge_control_file=%t/MCF %t/C1 %t/C2 2>%t/log & RUN: sleep 3 RUN: pkill -SIGUSR2 -P $PID RUN: kill -SIGUSR2 $PID -RUN: sleep 3 +RUN: sleep 6 RUN: cat %t/log | FileCheck %s RUN: grep C2/g %t/MCF RUN: grep STARTED %t/MCF -- 2.7.4