diff options
author | Josh Stone <jistone@redhat.com> | 2009-06-22 13:59:58 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-06-22 13:59:58 -0700 |
commit | 595d75d80e0301fe7dca9b0614ce58b1e0a5d474 (patch) | |
tree | 08ae825f3d018c2500ecd140964857c720d4aa9c /testsuite/systemtap.base/target_set.exp | |
parent | 854e786e804c6dac927465ebcaac7fca724256cb (diff) | |
download | systemtap-steved-595d75d80e0301fe7dca9b0614ce58b1e0a5d474.tar.gz systemtap-steved-595d75d80e0301fe7dca9b0614ce58b1e0a5d474.tar.xz systemtap-steved-595d75d80e0301fe7dca9b0614ce58b1e0a5d474.zip |
Bump up the default timeout for target_set test
Starting the test with a cold cache can take easily longer than
dejagnu's default 10 second timeout. I'm bumping it to 180 seconds,
the same as in the stap_run library functions.
Diffstat (limited to 'testsuite/systemtap.base/target_set.exp')
-rw-r--r-- | testsuite/systemtap.base/target_set.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/target_set.exp b/testsuite/systemtap.base/target_set.exp index 998fd4a1..4b6e0a5d 100644 --- a/testsuite/systemtap.base/target_set.exp +++ b/testsuite/systemtap.base/target_set.exp @@ -46,6 +46,7 @@ proc expect_target_set_pids generations { spawn stap $file $time -c "$stap_cmd" expect { + -timeout 180 -re {^(\d+)\r\n} { set stp_pid $expect_out(1,string) } timeout { failtest; return } } |