Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
06674113
Commit
06674113
authored
May 17, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
May 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Relax an intermittently failing test.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1e9d3ff3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
systemclock.c
dlls/quartz/tests/systemclock.c
+4
-7
No files found.
dlls/quartz/tests/systemclock.c
View file @
06674113
...
...
@@ -259,18 +259,15 @@ static void test_advise(void)
hr
=
IReferenceClock_AdvisePeriodic
(
clock
,
-
500
*
10000
,
1000
*
10000
,
(
HSEMAPHORE
)
semaphore
,
&
cookie
);
ok
(
hr
==
E_INVALIDARG
,
"Got hr %#x.
\n
"
,
hr
);
hr
=
IReferenceClock_AdvisePeriodic
(
clock
,
current
,
5
00
*
10000
,
(
HSEMAPHORE
)
semaphore
,
&
cookie
);
hr
=
IReferenceClock_AdvisePeriodic
(
clock
,
current
,
1
00
*
10000
,
(
HSEMAPHORE
)
semaphore
,
&
cookie
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
!
WaitForSingleObject
(
semaphore
,
2
0
),
"Semaphore should be signaled.
\n
"
);
ok
(
!
WaitForSingleObject
(
semaphore
,
5
0
),
"Semaphore should be signaled.
\n
"
);
for
(
i
=
0
;
i
<
5
;
++
i
)
{
ok
(
WaitForSingleObject
(
semaphore
,
460
)
==
WAIT_TIMEOUT
,
"Semaphore should not be signaled.
\n
"
);
ok
(
!
WaitForSingleObject
(
semaphore
,
60
),
"Semaphore should be signaled.
\n
"
);
}
ok
(
!
WaitForSingleObject
(
semaphore
,
500
),
"Semaphore should be signaled.
\n
"
);
hr
=
IReferenceClock_Unadvise
(
clock
,
cookie
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
WaitForSingleObject
(
semaphore
,
52
0
)
==
WAIT_TIMEOUT
,
"Semaphore should not be signaled.
\n
"
);
ok
(
WaitForSingleObject
(
semaphore
,
20
0
)
==
WAIT_TIMEOUT
,
"Semaphore should not be signaled.
\n
"
);
CloseHandle
(
event
);
CloseHandle
(
semaphore
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment