Add test using short timeout throws WebException (dotnet/corefx#34856)
authorMaryam Ariyan <maryam.ariyan@microsoft.com>
Sat, 26 Jan 2019 14:26:19 +0000 (06:26 -0800)
committerStephen Toub <stoub@microsoft.com>
Sat, 26 Jan 2019 14:26:19 +0000 (09:26 -0500)
commit84fe28a486af100c27b668032630f206d83fd901
tree80fd9fea6ba527ed91f641efe8357ae018a2ea81
parentbc06b7ac099034ca05baec51220c8e63b5ab08cd
Add test using short timeout throws WebException (dotnet/corefx#34856)

* Add test using short timeout throwing WebException

Fixes: dotnet/corefx#34849

* Make test conditional and target internal location

* code cleanup

Commit migrated from https://github.com/dotnet/corefx/commit/a3df534fca15e6053aab748e020006a5cb3b0d31
src/libraries/System.Windows.Extensions/tests/System/Media/SoundPlayerTests.cs