Skip to content

Commit

Permalink
More verbose info in datacollector log (#2430)
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd authored May 11, 2020
1 parent bcad654 commit d8bc445
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void ProcessRequests()

if (EqtTrace.IsInfoEnabled)
{
EqtTrace.Info("DataCollectionTestCaseEventHandler: Test case started.");
EqtTrace.Info("DataCollectionTestCaseEventHandler: Test case '{0} - {1}' started.", testCaseStartEventArgs.TestCaseName, testCaseStartEventArgs.TestCaseId);
}

break;
Expand All @@ -101,7 +101,7 @@ public void ProcessRequests()

if (EqtTrace.IsInfoEnabled)
{
EqtTrace.Info("DataCollectionTestCaseEventHandler: Test case completed");
EqtTrace.Info("DataCollectionTestCaseEventHandler: Test case '{0} - {1}' completed", testCaseEndEventArgs.TestCaseName, testCaseEndEventArgs.TestCaseId);
}

break;
Expand All @@ -121,7 +121,7 @@ public void ProcessRequests()
default:
if (EqtTrace.IsInfoEnabled)
{
EqtTrace.Info("DataCollectionTestCaseEventHandler: Invalid Message types");
EqtTrace.Info("DataCollectionTestCaseEventHandler: Invalid Message type '{0}'", message.MessageType);
}

break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public bool OnTestCompletion(TestCase completedTest)

if (this.inProgressTests == null || this.inProgressTests.Count == 0)
{
EqtTrace.Warning("InProgressTests is null");
EqtTrace.Warning("TestRunCache: InProgressTests is null");
return false;
}

Expand Down Expand Up @@ -394,7 +394,7 @@ private void RemoveInProgress(TestResult result)
var removed = this.OnTestCompletion(result.TestCase);
if (!removed)
{
EqtTrace.Warning("TestRunCache: No test found corresponding to testResult '{0}' in inProgress list.", result);
EqtTrace.Warning("TestRunCache: No test found corresponding to testResult '{0}' in inProgress list.", result.DisplayName);
}
}

Expand Down

0 comments on commit d8bc445

Please sign in to comment.