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

jsre: fix #1876, sleep too short on a slow test server
This commit is contained in:
Felix Lange 2015-11-05 13:03:06 +01:00
commit eb11c0e597
1 changed files with 1 additions and 1 deletions

View File

@ -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)