[compiler-rt] 4155784 - Try to make `duplicate_os_log_reports.cpp` more reliable.
Dan Liew via llvm-commits
llvm-commits at lists.llvm.org
Mon May 4 13:50:03 PDT 2020
Author: Dan Liew
Date: 2020-05-04T13:49:55-07:00
New Revision: 4155784cdf97913820491ea49d9fe26506a23641
URL: https://github.com/llvm/llvm-project/commit/4155784cdf97913820491ea49d9fe26506a23641
DIFF: https://github.com/llvm/llvm-project/commit/4155784cdf97913820491ea49d9fe26506a23641.diff
LOG: 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
Added:
Modified:
compiler-rt/test/asan/TestCases/Darwin/duplicate_os_log_reports.cpp
Removed:
################################################################################
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 5f923d22a9a4..b40d8fef26cb 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 <cassert>
#include <cstdio>
More information about the llvm-commits
mailing list