[JENKINS-52944] Pass milliseconds to TimeDuration (#1794)

testCase.duration is in seconds, but we must pass milliseconds
to TimeDuration.format().
This commit is contained in:
Craig Rodrigues 2018-08-20 15:36:29 -07:00 committed by Nicolae Pascu
parent b02273dc2a
commit 2fd5f85771
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export default class TestCaseResultRow extends Component {
render() {
const { testCase, translation, locale = 'en' } = this.props;
const duration = TimeDuration.format(testCase.duration, translation, locale);
const duration = TimeDuration.format(testCase.duration * 1000, translation, locale);
const showTestCase = testCase.errorStackTrace || testCase.errorDetails || testCase.hasStdLog;
let statusIndicator = null;
switch (testCase.status) {