Skip to content

Commit 15b54ba

Browse files
Jefftreek8s-publishing-bot
authored andcommitted
Expand emulated version range to n-3 with 1.31 floor
Kubernetes-commit: cf28c0405c02e82e1028193a4ce1aa75d473ae8e
1 parent c7fb780 commit 15b54ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/server/options/server_run_options_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ import (
3434
func TestServerRunOptionsValidate(t *testing.T) {
3535
testRegistry := featuregate.NewComponentGlobalsRegistry()
3636
featureGate := utilfeature.DefaultFeatureGate.DeepCopy()
37-
effectiveVersion := utilversion.NewEffectiveVersion("1.30")
38-
effectiveVersion.SetEmulationVersion(version.MajorMinor(1, 32))
37+
effectiveVersion := utilversion.NewEffectiveVersion("1.35")
38+
effectiveVersion.SetEmulationVersion(version.MajorMinor(1, 31))
3939
testComponent := "test"
4040
utilruntime.Must(testRegistry.Register(testComponent, effectiveVersion, featureGate))
4141

@@ -197,7 +197,7 @@ func TestServerRunOptionsValidate(t *testing.T) {
197197
ComponentName: testComponent,
198198
ComponentGlobalsRegistry: testRegistry,
199199
},
200-
expectErr: "emulation version 1.32 is not between [1.29, 1.30.0]",
200+
expectErr: "emulation version 1.31 is not between [1.32, 1.35.0]",
201201
},
202202
{
203203
name: "Test when ServerRunOptions is valid",

0 commit comments

Comments
 (0)