From bddb13d43636c7bc40bb070ac2d57cc77afa8762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Thu, 5 Nov 2015 11:36:10 +0200 Subject: [PATCH] jsre: fix #1876, sleep too short on a slow test server --- jsre/jsre_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsre/jsre_test.go b/jsre/jsre_test.go index 8450f546c3..ffb6999db7 100644 --- a/jsre/jsre_test.go +++ b/jsre/jsre_test.go @@ -85,7 +85,7 @@ func TestNatto(t *testing.T) { if err != nil { t.Errorf("expected no error, got %v", err) } - time.Sleep(time.Millisecond * 10) + time.Sleep(100 * time.Millisecond) val, err := jsre.Run("msg") if err != nil { t.Errorf("expected no error, got %v", err)