rados: check errors in test when deleting pools

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-04-08 16:41:44 -04:00 committed by John Mulligan
parent a1de43cd5d
commit 20311caff5

View File

@ -413,7 +413,8 @@ func (suite *RadosTestSuite) TestGetLargePoolList() {
defer func(origPools []string) {
for _, name := range names {
suite.conn.DeletePool(name)
err := suite.conn.DeletePool(name)
assert.NoError(suite.T(), err)
}
cleanPools, err := suite.conn.ListPools()
assert.NoError(suite.T(), err)