Fix GetLogInformation_UsingLogName_DoesNotThrow test (dotnet/corefx#38653)
authorStephen Toub <stoub@microsoft.com>
Tue, 18 Jun 2019 22:06:45 +0000 (18:06 -0400)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2019 22:06:45 +0000 (18:06 -0400)
commit958ead90548b10cdd8ec15bafc0f4ec3ec6ba489
treec2156d99f879299b47e2c91acdb627c6a8f31926
parent8c64ae869b01643076de5cc99c5f41bebed94b68
Fix GetLogInformation_UsingLogName_DoesNotThrow test (dotnet/corefx#38653)

The test was doing multiple reads from the underlying log and expecting them to be equivalent.  That's not guaranteed, as it's a global machine resource.

Commit migrated from https://github.com/dotnet/corefx/commit/475056abaaf3b1e9e29088c992157b415a800e54
src/libraries/System.Diagnostics.EventLog/tests/System/Diagnostics/Reader/EventLogInformationTests.cs