jsre: fix #1876, sleep too short on a slow test server

release/1.3.2^2
Péter Szilágyi 9 years ago
parent e3f36d9728
commit bddb13d436
  1. 2
      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)

Loading…
Cancel
Save