|
@@ -257,7 +257,8 @@ public class TestAggregatedLogFormat {
|
|
|
+ (logUploadedTime ? ("\nLog Upload Time:" + Times.format(System
|
|
|
.currentTimeMillis())).length() : 0)
|
|
|
+ ("\nLogLength:" + numChars).length()
|
|
|
- + "\nLog Contents:\n".length() + numChars + "\n".length();
|
|
|
+ + "\nLog Contents:\n".length() + numChars + "\n".length()
|
|
|
+ + "End of LogType:stdout\n".length();
|
|
|
Assert.assertTrue("LogType not matched", s.contains("LogType:stdout"));
|
|
|
Assert.assertTrue("log file:stderr should not be aggregated.", !s.contains("LogType:stderr"));
|
|
|
Assert.assertTrue("log file:logs should not be aggregated.", !s.contains("LogType:logs"));
|