diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-11-05 17:36:10 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-11-05 17:36:10 +0800 |
commit | bddb13d43636c7bc40bb070ac2d57cc77afa8762 (patch) | |
tree | 9ed583163c8cf13b925ac524b86ec5df722f6a05 /jsre | |
parent | e3f36d97288636f222f451b26c7c89e334ce4869 (diff) | |
download | dexon-bddb13d43636c7bc40bb070ac2d57cc77afa8762.tar.gz dexon-bddb13d43636c7bc40bb070ac2d57cc77afa8762.tar.zst dexon-bddb13d43636c7bc40bb070ac2d57cc77afa8762.zip |
jsre: fix #1876, sleep too short on a slow test server
Diffstat (limited to 'jsre')
-rw-r--r-- | jsre/jsre_test.go | 2 |
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) |