Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
address CI failures
  • Loading branch information
antonfirsov committed Jul 17, 2023
commit 0fa803edd7636eefd611190a79df309a35aa4692
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,10 @@ await GetFactoryForVersion(version).CreateServerAsync((originalServer, originalU
}, UseVersion.ToString()).Dispose();
}

public static bool SupportsRemoteExecutorAndAlpn = RemoteExecutor.IsSupported && PlatformDetection.SupportsAlpn;

[OuterLoop]
[ConditionalTheory(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
[ConditionalTheory(nameof(SupportsRemoteExecutorAndAlpn))]
[InlineData(false)]
[InlineData(true)]
public void EventSource_Proxy_LogsIPAddress(bool useSsl)
Expand Down Expand Up @@ -900,12 +902,13 @@ public sealed class TelemetryTest_Http11 : TelemetryTest
public TelemetryTest_Http11(ITestOutputHelper output) : base(output) { }

[OuterLoop]
[ActiveIssue("https://github.com/dotnet/runtime/issues/89035", TestPlatforms.Browser)]
[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
public void EventSource_ParallelRequests_LogsNewConnectionIdForEachRequest()
{
RemoteExecutor.Invoke(async () =>
{
TimeSpan timeout = TimeSpan.FromSeconds(30);
TimeSpan timeout = TimeSpan.FromSeconds(60);
const int NumParallelRequests = 4;

using var listener = new TestEventListener("System.Net.Http", EventLevel.Verbose, eventCounterInterval: 0.1d);
Expand Down Expand Up @@ -947,7 +950,7 @@ async Task HandleConnectionAsync(GenericLoopbackConnection connection)
}
});
await WaitForEventCountersAsync(events);
}).WaitAsync(timeout);
});

Assert.DoesNotContain(events, e => e.Event.EventId == 0); // errors from the EventSource itself

Expand Down