ci: clean up after SmokeTest
Currently, SmokeTest is not cleaned up after the test. As this can affect other following tests, set rookCephCleanup as true. Signed-off-by: binoue <banji-inoue@cybozu.co.jp> Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
This commit is contained in:
1 parent
ee893eda5e
commit
aa2af5a24b
1 file changed
+4
-1
@@ -88,7 +88,7 @@ func (suite *SmokeSuite) SetupSuite() {
|
||||
usePVC: false,
|
||||
mons: 3,
|
||||
rbdMirrorWorkers: 1,
|
||||
rookCephCleanup: false,
|
||||
rookCephCleanup: true,
|
||||
skipOSDCreation: false,
|
||||
minimalMatrixK8sVersion: smokeSuiteMinimalTestVersion,
|
||||
rookVersion: installer.VersionMaster,
|
||||
@@ -302,6 +302,9 @@ func (suite *SmokeSuite) TestCreateRBDMirrorClient() {
|
||||
|
||||
err := suite.helper.RBDMirrorClient.Create(suite.namespace, rbdMirrorName, 1)
|
||||
require.Nil(suite.T(), err)
|
||||
|
||||
err = suite.helper.RBDMirrorClient.Delete(suite.namespace, rbdMirrorName)
|
||||
require.Nil(suite.T(), err)
|
||||
}
|
||||
|
||||
func (suite *SmokeSuite) getNonCanaryMonDeployments() ([]appsv1.Deployment, error) {
|
||||
|
||||
Reference in new issue
Block a user