don't just wait for the first log message; wait for the first
non-minor-gc log message
This commit is contained in:
parent
914fa58c0b
commit
fd68a247e5
|
@ -241,7 +241,11 @@ This test checks:
|
||||||
(send (send p get-editor) get-text)]
|
(send (send p get-editor) get-text)]
|
||||||
[else #f])))))
|
[else #f])))))
|
||||||
(and str
|
(and str
|
||||||
(not (equal? str ""))
|
|
||||||
|
;; wait for a log message that doesn't look like a minor GC
|
||||||
|
(for/or ([l (in-lines (open-input-string str))])
|
||||||
|
(not (regexp-match? #rx"^GC: [0-9]*:min" l)))
|
||||||
|
|
||||||
str))))
|
str))))
|
||||||
|
|
||||||
(unless (regexp-match #rx"GC: [0-9]+:MAJ" logger-string)
|
(unless (regexp-match #rx"GC: [0-9]+:MAJ" logger-string)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user