diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-04-15 21:34:13 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-04-15 21:34:13 +0000 |
commit | 23e062deb5573c0d4462a5a6068d9da9cb60befd (patch) | |
tree | a9e15ba599141b1c0bdae0177749d51e9d4927a9 | |
parent | 0e82ef5b1d1b272626120aa96d977de6c8642e96 (diff) | |
parent | 12b070b58a0f52c1c9589fca57c9e0334e5bec2f (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.java | 2 |
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); } |