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

Change-Id: Ie2627b9f7da6aa88aaee4791ad2522242fa743eb
This commit is contained in:
TreeHugger Robot
2020-04-15 21:48:47 +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);
}