Fix flaky tests ConcurrentModificationException might have been raised during the execution of a test, due to the modification of the log stream during after the iterator for the traversal was already created. Fix by using a thread-safe array list. Bug: Issue 13172 Change-Id: I1ae71bdbbdd7b6f342d3ee8f9584c8ba4e4524c1