Skip to content

Commit

Permalink
Exclude the test in release
Browse files Browse the repository at this point in the history
  • Loading branch information
ManickaP committed Oct 11, 2023
1 parent af5e763 commit 51a5be4
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,13 @@ public class MsQuicRemoteExecutorTests : QuicTestBase
public MsQuicRemoteExecutorTests()
: base(null!) { }

//[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
[Fact]
[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
public void SslKeyLogFile_IsCreatedAndFilled()
{
if (!RemoteExecutor.IsSupported)
if (PlatformDetection.IsReleaseRuntime)
{
_output.WriteLine("RemoteExecutor is not supported");
Assert.True(false, "RemoteExecutor is not supported");
throw new SkipTestException("Retrieving SSL secrets is not supported in Release mode.");
}
Assert.True(false, "SslKeyLogFile_IsCreatedAndFilled ran on this platform");

var psi = new ProcessStartInfo();
var tempFile = Path.GetTempFileName();
Expand Down

0 comments on commit 51a5be4

Please sign in to comment.