Browse Source

tests/e2e: pass "rc.0"

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee 6 years ago
parent
commit
64c16779c0
1 changed files with 3 additions and 0 deletions
  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 {