Skip to content

Commit e498297

Browse files
committed
Administrator privileges are required only on Windows
1 parent c79780e commit e498297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IntegrationTests/WcfTestsBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void Dispose()
4242

4343
protected async Task SubmitsTracesInternal(string clientPackageVersion, WcfServerTestHelperBase wcfServerTestHelperBase)
4444
{
45-
Assert.True(EnvironmentTools.IsWindowsAdministrator(), "This test requires Windows Administrator privileges.");
45+
Assert.True(!EnvironmentTools.IsWindows() || EnvironmentTools.IsWindowsAdministrator(), "This test requires Windows Administrator privileges.");
4646

4747
var collector = new MockSpansCollector(Output);
4848
SetExporter(collector);

0 commit comments

Comments
 (0)