mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
tests: Permit slow systems to take 300ms instead of 75ms.
Thanks to Jakub Jelen for debugging. Fixes #273.
Reproduce problem by changing the value to 1ms.
Signed-off-by: Simon Josefsson <simon@josefsson.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit d7a0cbcfbb)
This commit is contained in:
committed by
Jakub Jelen
parent
093431f929
commit
747dd17e64
@@ -229,7 +229,7 @@ static void torture_timeout_elapsed(void **state){
|
||||
|
||||
assert_true(ssh_timeout_elapsed(&ts,25));
|
||||
assert_false(ssh_timeout_elapsed(&ts,30000));
|
||||
assert_false(ssh_timeout_elapsed(&ts,75));
|
||||
assert_false(ssh_timeout_elapsed(&ts,300));
|
||||
assert_true(ssh_timeout_elapsed(&ts,0));
|
||||
assert_false(ssh_timeout_elapsed(&ts,-1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user