summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/threading/WaitForSingleObject
diff options
context:
space:
mode:
authorJostein Kjønigsen <jostein@kjonigsen.net>2015-06-04 16:29:55 +1000
committerJostein Kjønigsen <jostein@kjonigsen.net>2015-06-08 04:06:21 +1000
commit18bab6a643e9f12a9198e103765a78a90033153d (patch)
treec1040cf58c9e67d07931be4f34a8f49a889af7a9 /src/pal/tests/palsuite/threading/WaitForSingleObject
parent4cf8a6b082d9bb1789facd996d8265d3908757b2 (diff)
downloadcoreclr-18bab6a643e9f12a9198e103765a78a90033153d.tar.gz
coreclr-18bab6a643e9f12a9198e103765a78a90033153d.tar.bz2
coreclr-18bab6a643e9f12a9198e103765a78a90033153d.zip
Fix timing in PAL-tests for FreeBSD on hypervisors.
Diffstat (limited to 'src/pal/tests/palsuite/threading/WaitForSingleObject')
-rw-r--r--src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExMutexTest/WFSOExMutexTest.c4
-rw-r--r--src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExSemaphoreTest/WFSOExSemaphoreTest.c4
-rw-r--r--src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExThreadTest/WFSOExThreadTest.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExMutexTest/WFSOExMutexTest.c b/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExMutexTest/WFSOExMutexTest.c
index deacabf1be..5d231cd749 100644
--- a/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExMutexTest/WFSOExMutexTest.c
+++ b/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExMutexTest/WFSOExMutexTest.c
@@ -19,8 +19,8 @@
/*Based on SleepEx/test2 */
const int ChildThreadWaitTime = 4000;
-const int InterruptTime = 2000;
-const int AcceptableDelta = 100;
+const int InterruptTime = 2000;
+const DWORD AcceptableDelta = 300;
void RunTest(BOOL AlertThread);
VOID PALAPI APCFunc(ULONG_PTR dwParam);
diff --git a/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExSemaphoreTest/WFSOExSemaphoreTest.c b/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExSemaphoreTest/WFSOExSemaphoreTest.c
index a788e72e6f..5538883b98 100644
--- a/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExSemaphoreTest/WFSOExSemaphoreTest.c
+++ b/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExSemaphoreTest/WFSOExSemaphoreTest.c
@@ -19,8 +19,8 @@
/*Based on SleepEx/test2 */
const int ChildThreadWaitTime = 4000;
-const int InterruptTime = 2000;
-const int AcceptableDelta = 100;
+const int InterruptTime = 2000;
+const DWORD AcceptableDelta = 300;
void RunTest(BOOL AlertThread);
VOID PALAPI APCFunc(ULONG_PTR dwParam);
diff --git a/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExThreadTest/WFSOExThreadTest.c b/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExThreadTest/WFSOExThreadTest.c
index b96a905576..fd9e8f0874 100644
--- a/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExThreadTest/WFSOExThreadTest.c
+++ b/src/pal/tests/palsuite/threading/WaitForSingleObject/WFSOExThreadTest/WFSOExThreadTest.c
@@ -20,7 +20,7 @@
const int ChildThreadWaitTime = 4000;
const int InterruptTime = 2000;
-const int AcceptableDelta = 100;
+const DWORD AcceptableDelta = 300;
void RunTest(BOOL AlertThread);
VOID PALAPI APCFunc(ULONG_PTR dwParam);