mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-24 19:37:48 +03: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>
This commit is contained in:
committed by
Jakub Jelen
parent
cb0237e85b
commit
d7a0cbcfbb
@@ -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