projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2203c92
)
shorten SharedMutex tests that timeout under ASAN
author
Nathan Bronson
<ngbronson@fb.com>
Thu, 25 Feb 2016 04:28:37 +0000
(20:28 -0800)
committer
facebook-github-bot-1
<folly-bot@fb.com>
Thu, 25 Feb 2016 05:20:27 +0000
(21:20 -0800)
Summary:New ASAN options are more thorough but slower, resulting
in timeouts for some tests. Decreasing their internal loop count to
compensate.
Reviewed By: yfeldblum
Differential Revision:
D2973982
fb-gh-sync-id:
67391936d0b4930f99d00358ebb93a1b3ee87140
shipit-source-id:
67391936d0b4930f99d00358ebb93a1b3ee87140
folly/test/SharedMutexTest.cpp
patch
|
blob
|
history
diff --git
a/folly/test/SharedMutexTest.cpp
b/folly/test/SharedMutexTest.cpp
index 47c40b02b2a579b911b6ed63fa6e37ad027bccbf..3710709ec29fdafa04f89e3d4947614b20722d5d 100644
(file)
--- a/
folly/test/SharedMutexTest.cpp
+++ b/
folly/test/SharedMutexTest.cpp
@@
-1001,14
+1001,14
@@
TEST(SharedMutex, deterministic_mixed_mostly_read_write_prio) {
TEST(SharedMutex, mixed_mostly_read_read_prio) {
for (int pass = 0; pass < 5; ++pass) {
runMixed<atomic, SharedMutexReadPriority, TokenLocker>(
-
5
0000, 32, 0.1, false);
+
1
0000, 32, 0.1, false);
}
}
TEST(SharedMutex, mixed_mostly_read_write_prio) {
for (int pass = 0; pass < 5; ++pass) {
runMixed<atomic, SharedMutexWritePriority, TokenLocker>(
-
5
0000, 32, 0.1, false);
+
1
0000, 32, 0.1, false);
}
}