Skip to content

Commit

Permalink
Update is compatible k8s test
Browse files Browse the repository at this point in the history
  • Loading branch information
matoval committed Nov 21, 2024
1 parent b6007eb commit e42a67f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkg/workceptor/kubernetes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,14 +394,21 @@ func Test_IsCompatibleK8S(t *testing.T) {
{
name: "Prerelease Kubernetes version positive test 1",
args: args{
versionStr: "v1.23.14+sadfasdf",
versionStr: "v1.32.14+sadfasdf",
},
want: true,
},
{
name: "Prerelease Kubernetes version positive test 2",
args: args{
versionStr: "v1.23.15-asdfasdf+12131",
versionStr: "v1.32.14-asdfasdf+12131",
},
want: true,
},
{
name: "Prerelease Kubernetes version positive test 3",
args: args{
versionStr: "v1.32.15-asdfasdf+12131",
},
want: true,
},
Expand Down

0 comments on commit e42a67f

Please sign in to comment.