]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
[gdb/testsuite] Make gdb.mi/mi-sym-info.exp more robust against timeouts
authorTom de Vries <tdevries@suse.de>
Fri, 30 Apr 2021 09:25:47 +0000 (11:25 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 30 Apr 2021 09:25:47 +0000 (11:25 +0200)
commit5536f0cc62309de740e678da87c11039dd7bfb35
tree9ecfcc3f6c0b480193284bce3ca2ca95391148f8
parent7f7f284dfeebd16f7f8a08a565cf9837c3322308
[gdb/testsuite] Make gdb.mi/mi-sym-info.exp more robust against timeouts

Once in a while, I run into this timeout:
...
FAIL: gdb.mi/mi-sym-info.exp: List all variables from debug information \
  only (timeout)
...

I can make the timeout reproducible by setting timeout to 8s (instead of the
default 10s) for the duration of that test.

Make the test-case more stable by fixing all timeouts caused by setting
timeout to 5, either by adding with_timeout_factor, or increasing its factor.

Tested on x86_64-linux.  Also tested in parallel with stress -c 5, to simulate
a busy system in another way.

gdb/testsuite/ChangeLog:

2021-04-30  Tom de Vries  <tdevries@suse.de>

* gdb.mi/mi-sym-info.exp: Add with_timeout_factor, and increase
existing timeout factors.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-sym-info.exp