Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion src/nunit.agent.core.tests/AgentOptionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class AgentOptionTests
new TestCaseData("AgencyPid", string.Empty),
new TestCaseData("DebugAgent", false),
new TestCaseData("DebugTests", false),
new TestCaseData("TraceLevel", InternalTraceLevel.Off),
new TestCaseData("TraceLevel", InternalTraceLevel.Warning),
new TestCaseData("WorkDirectory", string.Empty)
};

Expand Down
2 changes: 1 addition & 1 deletion src/nunit.agent.core/AgentOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ string GetArgumentValue(string argument)
public string AgencyPid { get; } = string.Empty;
public bool DebugTests { get; } = false;
public bool DebugAgent { get; } = false;
public InternalTraceLevel TraceLevel { get; } = InternalTraceLevel.Off;
public InternalTraceLevel TraceLevel { get; } = InternalTraceLevel.Warning;
public string WorkDirectory { get; } = string.Empty;

public List<string> Files { get; } = new List<string>();
Expand Down
3 changes: 1 addition & 2 deletions src/nunit.agent.core/Agents/LocalProcessAgentLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ public Process CreateAgent(Guid agentId, string agencyUrl, TestPackage package)

// Set options that need to be in effect before the package
// is loaded by using the command line.
if (traceLevel != "Off")
sb.Append(" --trace=").EscapeProcessArgument(traceLevel);
sb.Append(" --trace=").EscapeProcessArgument(traceLevel);
if (debugAgent)
sb.Append(" --debug-agent");
if (debugTests)
Expand Down