diff --git a/jsonnetsecure/provider.go b/jsonnetsecure/provider.go index 2901d3e9..fad5fa0e 100644 --- a/jsonnetsecure/provider.go +++ b/jsonnetsecure/provider.go @@ -8,6 +8,7 @@ import ( "os" "runtime" "testing" + "time" ) type ( @@ -44,6 +45,7 @@ func (p *TestProvider) JsonnetVM(ctx context.Context) (VM, error) { WithProcessIsolatedVM(ctx), WithProcessPool(p.pool), WithJsonnetBinary(p.jsonnetBinary), + WithExecTimeout(time.Second*5), ), nil }