Commit eb11c0e5 authored by Felix Lange's avatar Felix Lange

Merge pull request #1965 from karalabe/fix-natto-test

jsre: fix #1876, sleep too short on a slow test server
parents ca4f6d0f bddb13d4
...@@ -85,7 +85,7 @@ func TestNatto(t *testing.T) { ...@@ -85,7 +85,7 @@ func TestNatto(t *testing.T) {
if err != nil { if err != nil {
t.Errorf("expected no error, got %v", err) t.Errorf("expected no error, got %v", err)
} }
time.Sleep(time.Millisecond * 10) time.Sleep(100 * time.Millisecond)
val, err := jsre.Run("msg") val, err := jsre.Run("msg")
if err != nil { if err != nil {
t.Errorf("expected no error, got %v", err) t.Errorf("expected no error, got %v", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment