@@ -74,7 +74,7 @@ func TestGetLabel(t *testing.T) {
7474 "mysql.radondb.com/cluster" : "sample" ,
7575 "app.kubernetes.io/name" : "mysql" ,
7676 "app.kubernetes.io/instance" : "instance" ,
77- "app.kubernetes.io/version" : "5.7.33 " ,
77+ "app.kubernetes.io/version" : "5.7.34 " ,
7878 "app.kubernetes.io/component" : "database" ,
7979 "app.kubernetes.io/managed-by" : "mysql.radondb.com" ,
8080 }
@@ -93,7 +93,7 @@ func TestGetLabel(t *testing.T) {
9393 "mysql.radondb.com/cluster" : "sample" ,
9494 "app.kubernetes.io/name" : "mysql" ,
9595 "app.kubernetes.io/instance" : "sample" ,
96- "app.kubernetes.io/version" : "5.7.33 " ,
96+ "app.kubernetes.io/version" : "5.7.34 " ,
9797 "app.kubernetes.io/component" : "component" ,
9898 "app.kubernetes.io/managed-by" : "mysql.radondb.com" ,
9999 }
@@ -112,7 +112,7 @@ func TestGetLabel(t *testing.T) {
112112 "mysql.radondb.com/cluster" : "sample" ,
113113 "app.kubernetes.io/name" : "mysql" ,
114114 "app.kubernetes.io/instance" : "sample" ,
115- "app.kubernetes.io/version" : "5.7.33 " ,
115+ "app.kubernetes.io/version" : "5.7.34 " ,
116116 "app.kubernetes.io/component" : "database" ,
117117 "app.kubernetes.io/managed-by" : "mysql.radondb.com" ,
118118 "app.kubernetes.io/part-of" : "part-of" ,
@@ -131,34 +131,34 @@ func TestGetSelectorLabels(t *testing.T) {
131131}
132132
133133func TestGetMySQLVersion (t * testing.T ) {
134- // other 8.0 -> 5.7.33
134+ //other 8.0 -> 5.7.34
135135 {
136136 testMysqlCluster := mysqlCluster
137137 testMysqlCluster .Spec .MysqlVersion = "8.0"
138138 testCase := Cluster {
139139 & testMysqlCluster ,
140140 }
141- want := "5.7.33 "
141+ want := "5.7.34 "
142142 assert .Equal (t , want , testCase .GetMySQLVersion ())
143143 }
144- // MySQLTagsToSemVer 5.7 -> 5.7.33
144+ //MySQLTagsToSemVer 5.7 -> 5.7.34
145145 {
146146 testMysqlCluster := mysqlCluster
147147 testMysqlCluster .Spec .MysqlVersion = "5.7"
148148 testCase := Cluster {
149149 & testMysqlCluster ,
150150 }
151- want := "5.7.33 "
151+ want := "5.7.34 "
152152 assert .Equal (t , want , testCase .GetMySQLVersion ())
153153 }
154- // MysqlImageVersions 5.7.33 -> 5.7.33
154+ //MysqlImageVersions 5.7.34 -> 5.7.34
155155 {
156156 testMysqlCluster := mysqlCluster
157- testMysqlCluster .Spec .MysqlVersion = "5.7.33 "
157+ testMysqlCluster .Spec .MysqlVersion = "5.7.34 "
158158 testCase := Cluster {
159159 & testMysqlCluster ,
160160 }
161- want := "5.7.33 "
161+ want := "5.7.34 "
162162 assert .Equal (t , want , testCase .GetMySQLVersion ())
163163 }
164164}
0 commit comments