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

This commit is contained in:
TreeHugger Robot
2020-04-15 21:34:13 +00:00
committed by Android (Google) Code Review

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