From a3142ac2575c8591c8fd14940e099f3e7befc9a9 Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt Date: Wed, 14 Oct 2015 09:38:56 -0400 Subject: [PATCH] Increase sleep time to avoid races on loaded test machines. Hopefully alleviates DrDr & Travis failures. --- pkgs/racket-test/tests/pkg/tests-locking.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/racket-test/tests/pkg/tests-locking.rkt b/pkgs/racket-test/tests/pkg/tests-locking.rkt index 6cf7378ea2..767c70f8e3 100644 --- a/pkgs/racket-test/tests/pkg/tests-locking.rkt +++ b/pkgs/racket-test/tests/pkg/tests-locking.rkt @@ -26,7 +26,7 @@ #:command-line? #t #:servlet-regexp #rx"" #:port 9967) - (sleep 1))) + (sleep 2))) ;; Step 2: Assign it as our server $ "raco pkg config --set catalogs http://localhost:9967" @@ -36,7 +36,7 @@ (λ () (shelly-begin $ "raco pkg install pkg-test1"))) - (sleep 1) + (sleep 2) ;; Step 4: Start the installation request that will fail $ "raco pkg install pkg-test1" =exit> 1