Skip to content

Commit

Permalink
Fix report tests (#3531)
Browse files Browse the repository at this point in the history
  • Loading branch information
na-- committed Jan 11, 2024
1 parent 033d768 commit e79f4cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/report_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit e79f4cd

Please sign in to comment.