Skip to content

Commit

Permalink
revert some updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Rossignoli committed Sep 30, 2024
1 parent 59a80e7 commit 10f64c9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,13 @@ public async Task OnTestSessionStartingAsync(SessionUid _, CancellationToken can
{
await _logger.LogDebugAsync($"""
PlatformCommandLineProvider.ServerOption: {_commandLineOptionsService.IsOptionSet(PlatformCommandLineProvider.ServerOptionKey)}
CrashDumpCommandLineOptions.CrashDumpOptionName: {_commandLineOptionsService.IsOptionSet(CrashDumpCommandLineOptions.CrashDumpOptionName)}
TrxReportGeneratorCommandLine.IsTrxReportEnabled: {_commandLineOptionsService.IsOptionSet(TrxReportGeneratorCommandLine.TrxReportOptionName)}
""");
}

if (!_commandLineOptionsService.IsOptionSet(PlatformCommandLineProvider.ServerOptionKey))
if (!_commandLineOptionsService.IsOptionSet(PlatformCommandLineProvider.ServerOptionKey) &&
_commandLineOptionsService.IsOptionSet(CrashDumpCommandLineOptions.CrashDumpOptionName))
{
ApplicationStateGuard.Ensure(_trxTestApplicationLifecycleCallbacks is not null);
ApplicationStateGuard.Ensure(_trxTestApplicationLifecycleCallbacks.NamedPipeClient is not null);
Expand Down

0 comments on commit 10f64c9

Please sign in to comment.