From e79f4cd7edcf1a7cb5e069c2d259063ba7daac1d Mon Sep 17 00:00:00 2001 From: na-- Date: Thu, 11 Jan 2024 14:58:10 +0200 Subject: [PATCH] Fix report tests (#3531) --- cmd/report_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/report_test.go b/cmd/report_test.go index 6d1391ff8c9..c28fe816739 100644 --- a/cmd/report_test.go +++ b/cmd/report_test.go @@ -7,6 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.k6.io/k6/execution" + "go.k6.io/k6/execution/local" "go.k6.io/k6/lib" "go.k6.io/k6/lib/consts" "go.k6.io/k6/lib/executor" @@ -42,7 +43,7 @@ func TestCreateReport(t *testing.T) { Logger: logger, }, Options: opts, - }) + }, local.NewController()) require.NoError(t, err) s.GetState().ModInitializedVUsCount(6) s.GetState().AddFullIterations(uint64(opts.Iterations.Int64))