File tree 1 file changed +4
-1
lines changed
src/test/kotlin/com/atlassian/performance/tools/awsinfrastructure/api/jira
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ class HooksDataCenterFormulaIT {
105
105
})
106
106
.build()
107
107
}
108
- val dcPlan = JiraDataCenterPlan .Builder (nodePlans, infra.balance(ApacheEc2LoadBalancerFormula ()))
108
+ val loadBalancer = infra.balance(ApacheEc2LoadBalancerFormula ())
109
+ val dcPlan = JiraDataCenterPlan .Builder (nodePlans, loadBalancer)
109
110
.instanceHooks(
110
111
PreInstanceHooks .default()
111
112
.also { it.insert(database) }
@@ -151,6 +152,8 @@ class HooksDataCenterFormulaIT {
151
152
assertThat(fileTree.filter { it.fileName.toString().startsWith(" atlassian-jira-gc" ) })
152
153
.`as `(" GC logs from $fileTree " )
153
154
.isNotEmpty
155
+ val jiraResponse = dataCenter!! .address.addressPublicly().toURL().readText()
156
+ assertThat(jiraResponse).contains(" <body>" )
154
157
}.assertAll()
155
158
}
156
159
You can’t perform that action at this time.
0 commit comments