iorap-functional-test: Add leading 0 to timestamp.
For example: 100001ms should be 100.001s instead of 100.1s Bug: 154036462 Test: atest iorap-functional-tests Change-Id: I9502358539019573af106d9dcec2681ea406598b
This commit is contained in:
parent
f9551ba4e1
commit
12b070b58a
@ -397,7 +397,7 @@ public class IorapWorkFlowTest {
|
||||
public LogcatTimestamp() throws Exception{
|
||||
long currentTimeMillis = System.currentTimeMillis();
|
||||
epochTime = String.format(
|
||||
"%d.%d", currentTimeMillis/1000, currentTimeMillis%1000);
|
||||
"%d.%03d", currentTimeMillis/1000, currentTimeMillis%1000);
|
||||
Log.i(TAG, "Current logcat timestamp is " + epochTime);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user