commit | cdd1d07ca14f3e58a3ae706df952743aa5a3eee5 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Apr 15 21:48:47 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 15 21:48:47 2020 +0000 |
tree | 3d01a1b8e2c0f8e033cfa7ca4a4c738d4a0c899b | |
parent | 3feb9503186053e20c9781e983aa1f688a01d6c1 [diff] | |
parent | 443535c70915469673312852db7f6886eca9a430 [diff] |
Merge "iorap-functional-test: Add leading 0 to timestamp." into rvc-dev am: 23e062deb5 am: b85aecc8d5 am: 443535c709 Change-Id: Ie2627b9f7da6aa88aaee4791ad2522242fa743eb
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 c35dd3b..5352be6 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 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); }