Skip to content

Commit bb61566

Browse files
committed
fix segv for random execution
1 parent 9ab4888 commit bb61566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stage/stage.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ func (s *Stage) run(ctx context.Context) (returnErr error) {
225225
s.prepareClient()
226226
s.propagateStates()
227227
if len(s.Queries)+len(s.QueryFiles) > 0 {
228-
if *s.RandomExecution {
228+
if s.RandomExecution != nil && *s.RandomExecution {
229229
returnErr = s.runRandomly(ctx)
230230
} else {
231231
returnErr = s.runSequentially(ctx)

0 commit comments

Comments
 (0)