Skip to content

Commit

Permalink
roachtest: fix OperationRequiresNodes dependency check
Browse files Browse the repository at this point in the history
Epic: None
Release Note: None
  • Loading branch information
herkolategan committed May 9, 2024
1 parent 2f324db commit 45a1d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/roachtestutil/operations/dependency.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func CheckDependencies(
for _, dep := range spec.Dependencies {
switch dep {
case registry.OperationRequiresNodes:
if len(c.Nodes()) == 0 {
if len(c.All()) == 0 {
return false, nil
}
case registry.OperationRequiresPopulatedDatabase:
Expand Down

0 comments on commit 45a1d68

Please sign in to comment.