aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-11-05 20:03:06 +0800
committerFelix Lange <fjl@twurst.com>2015-11-05 20:03:06 +0800
commiteb11c0e597b9a2c3256bc29f531d3976b0a1c729 (patch)
treeb9db5926e5c5647f17b0e7753fcd4a3d1927b4fa
parentca4f6d0fdd861046c0d47e2fdd7e63c20efae3d9 (diff)
parentbddb13d43636c7bc40bb070ac2d57cc77afa8762 (diff)
downloadgo-tangerine-eb11c0e597b9a2c3256bc29f531d3976b0a1c729.tar.gz
go-tangerine-eb11c0e597b9a2c3256bc29f531d3976b0a1c729.tar.zst
go-tangerine-eb11c0e597b9a2c3256bc29f531d3976b0a1c729.zip
Merge pull request #1965 from karalabe/fix-natto-test
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)