Skip to content

Commit

Permalink
Fix tests duration
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Feb 13, 2019
1 parent d14b6e9 commit d689615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ReportPortal.NUnitExtension/ReportPortalListener.Suite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private void FinishSuite(XmlDocument xmlDoc)
// finishing suite
var finishSuiteRequest = new FinishTestItemRequest
{
EndTime = _flowItems[id].StartTime.AddMilliseconds(duration),
EndTime = _flowItems[id].StartTime.AddSeconds(duration),
Status = _statusMap[result]
};

Expand Down
2 changes: 1 addition & 1 deletion ReportPortal.NUnitExtension/ReportPortalListener.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public void FinishTest(XmlDocument xmlDoc)
// finishing test
var finishTestRequest = new FinishTestItemRequest
{
EndTime = _flowItems[id].StartTime.AddMilliseconds(duration),
EndTime = _flowItems[id].StartTime.AddSeconds(duration),
Status = _statusMap[result]
};

Expand Down

0 comments on commit d689615

Please sign in to comment.