summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-04-16 00:48:09 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-04-16 00:48:09 +0000
commit4d7429ff8be48a8bf3ff647fe5ac0243b0f7f2bf (patch)
tree1d5f7af41b0a1ba55afd0b56f9027a017f718bfb
parentd57d0a6caf7b9a70e95c3542b34510d7de91c2de (diff)
parent4a1e025abd1d892da606fd439760517e6b07a8ac (diff)
Merge "iorap-functional-test: Add leading 0 to timestamp." into rvc-dev am: 23e062deb5 am: b85aecc8d5 am: 443535c709 am: cdd1d07ca1 am: 4a1e025abd
Change-Id: I675acf89886ef8c2921d4ff51be16f23c54a2a58
-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);
}