@@ -147,7 +147,7 @@ func update(t *testing.T) {
147
147
cmd .Env = env
148
148
require .NoError (t , cmd .Run (), buf .String ())
149
149
actual := buf .String ()
150
- assert .Contains (t , actual , "getistio successfully updated from dev to 1.0.0 !" )
150
+ assert .Contains (t , actual , "getistio successfully updated from dev to 1.0.1 !" )
151
151
t .Log (actual )
152
152
}
153
153
@@ -202,8 +202,9 @@ func list(t *testing.T) {
202
202
require .NoError (t , cmd .Run ())
203
203
204
204
exp := `ISTIO VERSION FLAVOR FLAVOR VERSION K8S VERSIONS
205
+ *1.8.3 tetrate 0 1.16,1.17,1.18
205
206
1.8.3 istio 0 1.16,1.17,1.18
206
- * 1.8.2 tetrate 0 1.16,1.17,1.18
207
+ 1.8.2 tetrate 0 1.16,1.17,1.18
207
208
1.8.2 tetratefips 0 1.16,1.17,1.18
208
209
1.8.1 tetrate 0 1.16,1.17,1.18
209
210
1.8.0 tetrate 0 1.16,1.17,1.18
@@ -218,7 +219,7 @@ func list(t *testing.T) {
218
219
func fetch (t * testing.T ) {
219
220
defer func () {
220
221
cmd := exec .Command ("./getistio" , "switch" ,
221
- "--version" , "1.8.2 " , "--flavor" , "tetrate" , "--flavor-version=0" ,
222
+ "--version" , "1.8.3 " , "--flavor" , "tetrate" , "--flavor-version=0" ,
222
223
)
223
224
cmd .Stdout = os .Stdout
224
225
cmd .Stderr = os .Stderr
@@ -313,7 +314,7 @@ func prune(t *testing.T) {
313
314
FlavorVersion : 0 ,
314
315
},
315
316
{
316
- Version : "1.8.2 " ,
317
+ Version : "1.8.3 " ,
317
318
Flavor : "tetrate" ,
318
319
FlavorVersion : 0 ,
319
320
},
@@ -359,13 +360,13 @@ func show(t *testing.T) {
359
360
require .NoError (t , cmd .Run ())
360
361
exp := `1.7.5-tetrate-v0
361
362
1.8.1-tetrate-v0
362
- 1.8.2 -tetrate-v0 (Active)`
363
+ 1.8.3 -tetrate-v0 (Active)`
363
364
assert .Contains (t , buf .String (), exp )
364
365
fmt .Println (buf .String ())
365
366
}
366
367
367
368
func switchTest (t * testing.T ) {
368
- for _ , v := range []string {"1.8.1" , "1.8.2 " } {
369
+ for _ , v := range []string {"1.8.1" , "1.8.3 " } {
369
370
{
370
371
cmd := exec .Command ("./getistio" , "switch" ,
371
372
"--version" , v , "--flavor" , "tetrate" , "--flavor-version=0" ,
@@ -482,7 +483,7 @@ func checkUpgrade(t *testing.T) {
482
483
cmd .Stderr = os .Stderr
483
484
require .NoError (t , cmd .Run (), buf .String ())
484
485
actual := buf .String ()
485
- assert .Contains (t , actual , "1.8.2 -tetrate-v0 is the latest version in 1.8-tetrate" )
486
+ assert .Contains (t , actual , "1.8.3 -tetrate-v0 is the latest version in 1.8-tetrate" )
486
487
fmt .Println (actual )
487
488
488
489
// change image to 1.8.1-tetrate-v0
@@ -508,7 +509,7 @@ func checkUpgrade(t *testing.T) {
508
509
fmt .Println (actual )
509
510
if strings .Contains (actual ,
510
511
"There is the available patch for the minor version 1.8-tetrate. " +
511
- "We recommend upgrading all 1.8-tetrate versions -> 1.8.2 -tetrate-v0" ) {
512
+ "We recommend upgrading all 1.8-tetrate versions -> 1.8.3 -tetrate-v0" ) {
512
513
break
513
514
}
514
515
}
0 commit comments