Skip to content

Commit

Permalink
Update zk_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbean committed May 27, 2024
1 parent 0761d3c commit 6131812
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,9 @@ func requireMinimumZkVersion(t *testing.T, minimum string) {

minimumV, actualV := parseFn(minimum), parseFn(actualVersionStr)
for i, p := range minimumV {
if len(actualV) <= i {
break
}
if actualV[i] < p {
t.Skipf("zookeeper required min version not met; requires: %q, actual: %q", minimum, actualVersionStr)
}
Expand Down

0 comments on commit 6131812

Please sign in to comment.