Skip to content

Commit 0cf702a

Browse files
committed
Kotlin: Tweak the logs test to not be confused by the new logs
1 parent 0a0ce1f commit 0cf702a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

java/ql/integration-tests/all-platforms/kotlin/logs/index_logs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ def write_line(origin, kind, msg):
3636
if msg.startswith('Peak memory: '):
3737
# Peak memory information varies from run to run, so just ignore it
3838
continue
39+
if msg.startswith('Will write TRAP file ') or msg.startswith('Finished writing TRAP file '):
40+
# These vary between machines etc, and aren't very interesting, so just ignore them
41+
continue
3942
write_line(j['origin'], j['kind'], msg)
4043

4144
runSuccessfully(["codeql", "database", "index-files", "--language=csv", "--include=logs.csv", "test-db"])

0 commit comments

Comments
 (0)