Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Increase timeout and log the result for a couple of WaitAny tests tha… #13298

Merged
merged 1 commit into from
Aug 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ private int Run()
{
Console.WriteLine("Waiting...");
int i = WaitHandle.WaitAny(
new WaitHandle[]{myMutex, myMRE}, 5000);
Console.WriteLine("WaitAny did not throw AbandonedMutexException");
new WaitHandle[]{myMutex, myMRE}, 30000);
Console.WriteLine("WaitAny did not throw AbandonedMutexException. Result: {0}", i);
}
catch(AbandonedMutexException)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private int Run()
Console.WriteLine("Waiting...");
int i = WaitHandle.WaitAny(
new WaitHandle[]{myMutex, myMRE});
Console.WriteLine("WaitAny did not throw AbandonedMutexException");
Console.WriteLine("WaitAny did not throw AbandonedMutexException. Result: {0}", i);
}
catch(AbandonedMutexException)
{
Expand Down