E2E upgrade test: allow upgrade target version to be specified via command line.

This commit is contained in:
Max Forbes
2015-07-09 11:22:28 -07:00
parent ffc5a86098
commit 7cfabea2d3
3 changed files with 12 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ func init() {
flag.StringVar(&cloudConfig.ClusterTag, "cluster-tag", "", "Tag used to identify resources. Only required if provider is aws.")
flag.IntVar(&testContext.MinStartupPods, "minStartupPods", 0, "The number of pods which we need to see in 'Running' state with a 'Ready' condition of true, before we try running tests. This is useful in any cluster which needs some base pod-based services running before it can be used.")
flag.StringVar(&testContext.UpgradeTarget, "upgrade-target", "latest_ci", "Version to upgrade to (e.g. 'latest_stable', 'latest_release', 'latest_ci', '0.19.1', '0.19.1-669-gabac8c8') if doing an upgrade test.")
}
func TestE2E(t *testing.T) {