Explorar o código

tests/e2e: pass "rc.0"

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee %!s(int64=7) %!d(string=hai) anos
pai
achega
64c16779c0
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tests/e2e/metrics_test.go

+ 3 - 0
tests/e2e/metrics_test.go

@@ -44,6 +44,9 @@ func metricsTest(cx ctlCtx) {
 	if strings.HasSuffix(ver, "-pre") {
 		ver = strings.Replace(ver, "-pre", "", 1)
 	}
+	if strings.HasSuffix(ver, "-rc.0") {
+		ver = strings.Replace(ver, "-rc.0", "", 1)
+	}
 
 	i := 0
 	for _, test := range []struct {