Merge "iorap-functional-test: Add leading 0 to timestamp." into rvc-dev am: 23e062deb5

Change-Id: I1fca41805a8d7b7591f6504464322a959c524835
This commit is contained in:
TreeHugger Robot
2020-04-15 21:41:53 +00:00
committed by Automerger Merge Worker

View File

@@ -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);
}