Skip to content

Commit 7440fcf

Browse files
committed
invoke cleanup in testify suite teardown, move server shutdown to teardown as well for coherent test-related logic
1 parent 40dbbe0 commit 7440fcf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

integration_test/integration_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ func (suite *IntegrationTestSuite) TestPrometheus() {
307307
suite.Equal(http.StatusOK, response.StatusCode())
308308
}
309309

310-
func (suite *IntegrationTestSuite) TestShutdownBeelzebub() {
310+
func (suite *IntegrationTestSuite) TearDownSuite() {
311311
suite.Require().NoError(suite.beelzebubBuilder.Close())
312+
if suite.tlsCleanup != nil {
313+
suite.tlsCleanup()
314+
}
312315
}

0 commit comments

Comments
 (0)