From 4155784cdf97913820491ea49d9fe26506a23641 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Mon, 4 May 2020 13:47:00 -0700 Subject: [PATCH] Try to make `duplicate_os_log_reports.cpp` more reliable. It looks like some bots are failing with os log not giving any output. This might be due to the system under test being heavy load so the 2 minute window might not be large enough. This patch makes the window larger in the hope that this test will be more reliable. rdar://problem/62141527 --- .../test/asan/TestCases/Darwin/duplicate_os_log_reports.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/asan/TestCases/Darwin/duplicate_os_log_reports.cpp b/compiler-rt/test/asan/TestCases/Darwin/duplicate_os_log_reports.cpp index 5f923d22a9a41..b40d8fef26cb2 100644 --- a/compiler-rt/test/asan/TestCases/Darwin/duplicate_os_log_reports.cpp +++ b/compiler-rt/test/asan/TestCases/Darwin/duplicate_os_log_reports.cpp @@ -10,7 +10,7 @@ // Check syslog output. We filter recent system logs based on PID to avoid // getting the logs of previous test runs. -// RUN: log show --debug --last 2m --predicate "processID == ${TEST_PID}" --style syslog > %t.process_syslog_output.txt +// RUN: log show --debug --last 5m --predicate "processID == ${TEST_PID}" --style syslog > %t.process_syslog_output.txt // RUN: FileCheck %s -input-file=%t.process_syslog_output.txt #include #include