[TIMOB-23443] Android CLI: Log messages sometimes get truncated arbitrarily
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | Medium |
| Status | Closed |
| Resolution | Done |
| Resolution Date | 2016-08-04T02:48:54.000+0000 |
| Affected Version/s | Release 5.3.0 |
| Fix Version/s | Release 5.4.0 |
| Components | Android, CLI |
| Labels | n/a |
| Reporter | Christopher Williams |
| Assignee | Christopher Williams |
| Created | 2016-05-26T17:56:29.000+0000 |
| Updated | 2016-08-04T02:48:54.000+0000 |
Description
In attempting to set up an automated test suite for Android, I'm running into an issue whereby I cannot reliably spit the test results as JSON due to a number of issues. If I try to gather them all together and spit out on huge JSOn object, I run into TIMOB-23438 where it gets truncated around 4036 characters.
If I try to spit out JSON results after every test, I get intermittent truncated output, thereby breaking the JSON parsing.
When I do a manual
adb logcat it always shows the full JSON output in the logs, however, the titanium CLI is truncating it for some reason.
[~cwilliams] can you suggest a way to test this? it'll be good for QE as well.
[~cwilliams] as suggested by Kiat, are there test steps that you can provide so I can assist in testing it out?
[~cwilliams], Can you provide with a test case with which you encounter this issue.