commit b2a8b98373c0c3d9787ef3ba477ca6a450aa890b
Author: Christoph Berg <myon@debian.org>
Date:   Mon Dec 6 22:38:32 2021 +0100

    t/04_timeout.t: Use longer timeouts to make test less racy
    
    The actual test runtime isn't affected, both tests should still finish
    after one second in normal circumstances.

diff --git a/t/04_timeout.t b/t/04_timeout.t
index 62d068c..7c9b000 100644
--- a/t/04_timeout.t
+++ b/t/04_timeout.t
@@ -17,11 +17,11 @@ my $cp = CP_Testing->new( {default_action => 'custom_query'} );
 $dbh = $cp->test_database_handle();
 
 $t=q{Setting the --timeout flag works as expected};
-$res = $cp->run('--query="SELECT pg_sleep(2)" -w 7 --timeout=1');
+$res = $cp->run('--query="SELECT pg_sleep(10)" -w 7 --timeout=1');
 like ($res, qr{Command timed out}, $t);
 
 $t=q{Setting the --timeout flag works as expected};
-$res = $cp->run('--query="SELECT pg_sleep(1)" -w 7 --timeout=2');
+$res = $cp->run('--query="SELECT pg_sleep(1)" -w 7 --timeout=10');
 like ($res, qr{Invalid format}, $t);
 
 exit;
