Skip to content

Commit

Permalink
nvm: update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Silentttttt committed Jul 13, 2018
1 parent 0f0de53 commit bc856d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nf/nvm/engine_v8_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,11 @@ func TestMultiEngine(t *testing.T) {
defer engine.Dispose()

_, err = engine.RunScriptSource("console.log('running.');", 0)
assert.Nil(t, err)
if err == ErrExecutionTimeout {

} else {
assert.Nil(t, err)
}
}()
}
wg.Wait()
Expand Down

0 comments on commit bc856d9

Please sign in to comment.