summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-04-15 21:34:13 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-15 21:34:13 +0000
commit23e062deb5573c0d4462a5a6068d9da9cb60befd (patch)
treea9e15ba599141b1c0bdae0177749d51e9d4927a9
parent0e82ef5b1d1b272626120aa96d977de6c8642e96 (diff)
parent12b070b58a0f52c1c9589fca57c9e0334e5bec2f (diff)
Merge "iorap-functional-test: Add leading 0 to timestamp." into rvc-dev
-rw-r--r--startop/iorap/functional_tests/src/com/google/android/startop/iorap/IorapWorkFlowTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/startop/iorap/functional_tests/src/com/google/android/startop/iorap/IorapWorkFlowTest.java b/startop/iorap/functional_tests/src/com/google/android/startop/iorap/IorapWorkFlowTest.java
index c35dd3b783b1..5352be6f283f 100644
--- a/startop/iorap/functional_tests/src/com/google/android/startop/iorap/IorapWorkFlowTest.java
+++ b/startop/iorap/functional_tests/src/com/google/android/startop/iorap/IorapWorkFlowTest.java
@@ -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);
}