From a232b372fbaecca602c8e0fd2b7032ae6838f8b8 Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Wed, 24 Jul 2024 14:21:06 +0200 Subject: [PATCH] fix(jsonnet): add higher timeout for tests (#799) --- jsonnetsecure/provider.go | 2 ++ 1 file changed, 2 insertions(+) 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 }