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
af55f88d
Commit
af55f88d
authored
Mar 18, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat/tests: Increase wait timeout to help with intermittent test failures.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
26a25795
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
mfplat.c
dlls/mfplat/tests/mfplat.c
+5
-4
No files found.
dlls/mfplat/tests/mfplat.c
View file @
af55f88d
...
...
@@ -2066,7 +2066,7 @@ static HRESULT WINAPI testcallback_Invoke(IMFAsyncCallback *iface, IMFAsyncResul
state
=
IMFAsyncResult_GetStateNoAddRef
(
result
);
if
(
state
&&
SUCCEEDED
(
IUnknown_QueryInterface
(
state
,
&
IID_IMFMediaEventQueue
,
(
void
**
)
&
queue
)))
{
IMFMediaEvent
*
event
;
IMFMediaEvent
*
event
=
NULL
,
*
event2
;
if
(
is_win8_plus
)
{
...
...
@@ -2079,10 +2079,11 @@ static HRESULT WINAPI testcallback_Invoke(IMFAsyncCallback *iface, IMFAsyncResul
hr
=
IMFMediaEventQueue_EndGetEvent
(
queue
,
result
,
&
event
);
ok
(
hr
==
S_OK
,
"Failed to finalize GetEvent, hr %#x.
\n
"
,
hr
);
hr
=
IMFMediaEventQueue_EndGetEvent
(
queue
,
result
,
&
event
);
hr
=
IMFMediaEventQueue_EndGetEvent
(
queue
,
result
,
&
event
2
);
ok
(
hr
==
E_FAIL
,
"Unexpected result, hr %#x.
\n
"
,
hr
);
IMFMediaEvent_Release
(
event
);
if
(
event
)
IMFMediaEvent_Release
(
event
);
}
hr
=
IMFAsyncResult_GetObject
(
result
,
&
obj
);
...
...
@@ -2719,7 +2720,7 @@ static void test_event_queue(void)
hr
=
IMFMediaEventQueue_QueueEvent
(
queue
,
event
);
ok
(
hr
==
S_OK
,
"Failed to queue event, hr %#x.
\n
"
,
hr
);
ret
=
WaitForSingleObject
(
callback
.
event
,
1
00
);
ret
=
WaitForSingleObject
(
callback
.
event
,
5
00
);
ok
(
ret
==
WAIT_OBJECT_0
,
"Unexpected return value %#x.
\n
"
,
ret
);
CloseHandle
(
callback
.
event
);
...
...
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