container-structure-test
container-structure-test copied to clipboard
Junit output time appears to be using nanoseconds instead of seconds
Hi:
I realise that the Junit xml output is presenting the duration time in nanoseconds. I think typically the Junit time attribute is presented in seconds where fractions are represented as floating point numbers. Are you aware of this behaviour? Is there some context behind the choice of nanoseconds?
See sample output below:
Thanks,
<testsuite>
<testcase name="Command Test: somecli" time="548392417"></testcase>
<testcase name="Command Test: curl" time="228741708"></testcase>
<testcase name="Command Test: git" time="392738000"></testcase>
<testcase name="Command Test: jq" time="207920500"></testcase>
<testcase name="Command Test: openssh-client" time="224292667"></testcase>
<testcase name="File Existence Test: custom.sh" time="0"></testcase>
<testcase name="Metadata Test" time="0"></testcase>
</testsuite>
</testsuites>```