@@ -77,8 +77,8 @@ func TestOrchestratorUpgradeInfo(t *testing.T) {
7777 }
7878 orch , e = GetOrchestratorVersionProfile (csOrch )
7979 Expect (e ).To (BeNil ())
80- // 1.7.1, 1.7.2, 1.7.4, 1.7.5, 1.7.7, 1.7.9, 1.7.10, 1.7.12, 1.8.0, 1.8.1, 1.8.2, 1.8.4, 1.8.6
81- Expect (len (orch .Upgrades )).To (Equal (13 ))
80+ // 1.7.1, 1.7.2, 1.7.4, 1.7.5, 1.7.7, 1.7.9, 1.7.10, 1.7.12, 1.8.0, 1.8.1, 1.8.2, 1.8.4, 1.8.6, 1.8.7
81+ Expect (len (orch .Upgrades )).To (Equal (14 ))
8282
8383 // 1.7.12 is upgradable to 1.8.x
8484 csOrch = & OrchestratorProfile {
@@ -87,8 +87,8 @@ func TestOrchestratorUpgradeInfo(t *testing.T) {
8787 }
8888 orch , e = GetOrchestratorVersionProfile (csOrch )
8989 Expect (e ).To (BeNil ())
90- // 1.8.0, 1.8.1, 1.8.2, 1.8.4, 1.8.6
91- Expect (len (orch .Upgrades )).To (Equal (5 ))
90+ // 1.8.0, 1.8.1, 1.8.2, 1.8.4, 1.8.6, 1.8.7
91+ Expect (len (orch .Upgrades )).To (Equal (6 ))
9292
9393 // 1.8.4 is upgradable to 1.8.x and 1.9.x
9494 csOrch = & OrchestratorProfile {
@@ -97,8 +97,8 @@ func TestOrchestratorUpgradeInfo(t *testing.T) {
9797 }
9898 orch , e = GetOrchestratorVersionProfile (csOrch )
9999 Expect (e ).To (BeNil ())
100- // 1.8.6, 1.9.0, 1.9.1
101- Expect (len (orch .Upgrades )).To (Equal (3 ))
100+ // 1.8.6, 1.8.7, 1. 9.0, 1.9.1
101+ Expect (len (orch .Upgrades )).To (Equal (4 ))
102102
103103 // 1.9.1 is not upgradable
104104 csOrch = & OrchestratorProfile {
@@ -112,12 +112,12 @@ func TestOrchestratorUpgradeInfo(t *testing.T) {
112112 // v20170930 - all orchestrators
113113 list , e := GetOrchestratorVersionProfileListV20170930 ("" , "" )
114114 Expect (e ).To (BeNil ())
115- Expect (len (list .Properties .Orchestrators )).To (Equal (28 ))
115+ Expect (len (list .Properties .Orchestrators )).To (Equal (29 ))
116116
117117 // v20170930 - kubernetes only
118118 list , e = GetOrchestratorVersionProfileListV20170930 (common .Kubernetes , "" )
119119 Expect (e ).To (BeNil ())
120- Expect (len (list .Properties .Orchestrators )).To (Equal (23 ))
120+ Expect (len (list .Properties .Orchestrators )).To (Equal (24 ))
121121}
122122
123123func TestKubernetesInfo (t * testing.T ) {
0 commit comments