aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-11-05 17:36:10 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-11-05 17:36:10 +0800
commitbddb13d43636c7bc40bb070ac2d57cc77afa8762 (patch)
tree9ed583163c8cf13b925ac524b86ec5df722f6a05
parente3f36d97288636f222f451b26c7c89e334ce4869 (diff)
downloadgo-tangerine-bddb13d43636c7bc40bb070ac2d57cc77afa8762.tar
go-tangerine-bddb13d43636c7bc40bb070ac2d57cc77afa8762.tar.gz
go-tangerine-bddb13d43636c7bc40bb070ac2d57cc77afa8762.tar.bz2
go-tangerine-bddb13d43636c7bc40bb070ac2d57cc77afa8762.tar.lz
go-tangerine-bddb13d43636c7bc40bb070ac2d57cc77afa8762.tar.xz
go-tangerine-bddb13d43636c7bc40bb070ac2d57cc77afa8762.tar.zst
go-tangerine-bddb13d43636c7bc40bb070ac2d57cc77afa8762.zip
jsre: fix #1876, sleep too short on a slow test server
-rw-r--r--jsre/jsre_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsre/jsre_test.go b/jsre/jsre_test.go
index 8450f546c..ffb6999db 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)