Skip to content

Commit 4935219

Browse files
committed
fix: remove upgrade in other tests
1 parent 8b83ddc commit 4935219

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

tests/other_test.go

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/testhelper"
1313
)
1414

15-
func TestRunCompleteUpgradeExample(t *testing.T) {
15+
func TestRunCompleteExample(t *testing.T) {
1616
t.Parallel()
1717

1818
// Generate a 15 char long random string for the admin_pass
@@ -44,16 +44,14 @@ func TestRunCompleteUpgradeExample(t *testing.T) {
4444
CloudInfoService: sharedInfoSvc,
4545
})
4646

47-
output, err := options.RunTestUpgrade()
48-
if !options.UpgradeTestSkipped {
49-
assert.Nil(t, err, "This should not have errored")
50-
assert.NotNil(t, output, "Expected some output")
47+
output, err := options.RunTestConsistency()
48+
assert.Nil(t, err, "This should not have errored")
49+
assert.NotNil(t, output, "Expected some output")
5150

52-
outputs := options.LastTestTerraformOutputs
53-
expectedOutputs := []string{"port", "hostname"}
54-
_, outputErr := testhelper.ValidateTerraformOutputs(outputs, expectedOutputs...)
55-
assert.NoErrorf(t, outputErr, "Some outputs not found or nil")
56-
}
51+
outputs := options.LastTestTerraformOutputs
52+
expectedOutputs := []string{"port", "hostname"}
53+
_, outputErr := testhelper.ValidateTerraformOutputs(outputs, expectedOutputs...)
54+
assert.NoErrorf(t, outputErr, "Some outputs not found or nil")
5755
}
5856

5957
func testPlanICDVersions(t *testing.T, version string) {

0 commit comments

Comments
 (0)