diff --git a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/MetricsTest.cs b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/MetricsTest.cs index ef50997547dc2..0cafd974a4a20 100644 --- a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/MetricsTest.cs +++ b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/MetricsTest.cs @@ -41,7 +41,7 @@ await RemoteExecutor.Invoke(async () => }).DisposeAsync(); } - [Fact] + [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] public static async Task DurationHistogram_HasBucketSizeHints() { await RemoteExecutor.Invoke(async () =>