forked from OSchip/llvm-project
[Sanitizer] Modify test to avoid bot timeouts
Change the mutex type to one that initializes on construction and hopefully avoid what appear to be deadlock failures in the new test on a couple bots, e.g.: https://green.lab.llvm.org/green/job/clang-stage1-RA/24140/testReport/SanitizerCommon-Unit/__Sanitizer-x86_64-Test/SanitizerCommon_ReportFile/
This commit is contained in:
parent
da93829b44
commit
7acd1807dd
|
@ -328,7 +328,7 @@ TEST(SanitizerCommon, InternalMmapWithOffset) {
|
|||
#endif
|
||||
|
||||
TEST(SanitizerCommon, ReportFile) {
|
||||
StaticSpinMutex report_file_mu;
|
||||
SpinMutex report_file_mu;
|
||||
ReportFile report_file = {&report_file_mu, kStderrFd, "", "", 0};
|
||||
char tmpfile[128];
|
||||
temp_file_name(tmpfile, sizeof(tmpfile),
|
||||
|
|
Loading…
Reference in New Issue