Skip to content

Commit cbe513d

Browse files
authoredMar 7, 2025
Fix upgrade from latest minor release E2E test failures (#9385)
1 parent 21904f0 commit cbe513d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/framework/cluster.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,6 @@ func (e *ClusterE2ETest) generateHardwareConfig(opts ...CommandOpt) {
487487
}
488488

489489
func (e *ClusterE2ETest) GenerateClusterConfigForVersion(eksaVersion string, opts ...CommandOpt) {
490-
e.generateClusterConfigObjects(opts...)
491490
if eksaVersion != "" {
492491
// LicenseToken field was introduced in cluster spec only in release-22
493492
// attempting to populate the field for any prior versions would break the api.
@@ -509,6 +508,7 @@ func (e *ClusterE2ETest) GenerateClusterConfigForVersion(eksaVersion string, opt
509508
}
510509
}
511510

511+
e.generateClusterConfigObjects(opts...)
512512
e.buildClusterConfigFile()
513513
}
514514

0 commit comments

Comments
 (0)
Failed to load comments.