Skip to content

Commit

Permalink
fixing storageInit test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayja committed Oct 12, 2023
1 parent 9541ddb commit eec6b64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ require (
// Pinned this dependcy to fix vulnerbaility in `net` pkg
replace golang.org/x/net => golang.org/x/net v0.17.0

// Pinned this dependcy to fix vulnerbaility in `net` pkg
// Pinned this dependcy to fix vulnerbaility in `grpc` pkg
replace google.golang.org/grpc => google.golang.org/grpc v1.56.3

require (
Expand Down
5 changes: 5 additions & 0 deletions test/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,11 @@ func isClusterStateValid(
)
}

if newCluster.Labels[asdbv1.AerospikeAPIVersionLabel] != asdbv1.AerospikeAPIVersion {
pkgLog.Info("Cluster API version label is not correct")
return false
}

return true
}

Expand Down

0 comments on commit eec6b64

Please sign in to comment.