Skip to content

Commit 46f8d2b

Browse files
Jordan-Williams2Jordan-Williams2
authored andcommitted
fix: error in tests
1 parent 5b77e04 commit 46f8d2b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

tests/other_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ func TestRunAgentVpcOcp(t *testing.T) {
3333
t.Parallel()
3434

3535
options := setupOptions(t, "logs-agent-roks", terraformDirLogsAgentROKS)
36+
37+
// Keep costs down by using the cloud_pak entitlement
38+
options.TerraformVars["ocp_entitlement"] = "cloud_pak"
39+
3640
output, err := options.RunTestConsistency()
3741
assert.Nil(t, err, "This should not have errored")
3842
assert.NotNil(t, output, "Expected some output")

tests/pr_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ func setupOptions(t *testing.T, prefix string, terraformDir string) *testhelper.
5858
CloudInfoService: sharedInfoSvc,
5959
})
6060

61-
// add ocp entitlement to keep costs down for tests
62-
if terraformDir == terraformDirLogsAgentROKS {
63-
options.TerraformVars["ocp_entitlement"] = "cloud_pak"
64-
}
65-
6661
return options
6762
}
6863

0 commit comments

Comments
 (0)