diff options
author | Bala Konda Reddy M <bala12352@gmail.com> | 2020-06-25 15:33:27 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bala12352@gmail.com> | 2020-07-08 05:43:22 +0000 |
commit | 6bcff5e7be136b2aee6654710308b55affcf9a98 (patch) | |
tree | b6f9cc015264159973827299dd45d3a263055031 /tests/functional/snapshot/test_snapshot_create.py | |
parent | b47b449595cd179f4f6a00a10f0e1078287f6171 (diff) |
[TestFix] Remove hot and cold bricks list - Part2
For the non-tiered volume types, In few test cases while bringing
bricks offline, collecting both hot_tier_bricks and cold_tier_bricks
and it is not needed to collect hot and cold tier bricks.
Removing tier kwarg in one of the test.
Removing the hot and cold tiered bricks and collecting only bricks
of the particular volume as mentioned below.
Removing below section
```
bricks_to_bring_offline_dict = (select_bricks_to_bring_offline(
self.mnode, self.volname))
bricks_to_bring_offline = list(filter(None, (
bricks_to_bring_offline_dict['hot_tier_bricks'] +
bricks_to_bring_offline_dict['cold_tier_bricks'] +
bricks_to_bring_offline_dict['volume_bricks'])))
```
Modifying as below for bringing bricks offline.
```
bricks_to_bring_offline = bricks_to_bring_offline_dict['volume_bricks']
```
Change-Id: I4f59343b380ced498516794a8cc7c968390a8459
Signed-off-by: Bala Konda Reddy M <bala12352@gmail.com>
Diffstat (limited to 'tests/functional/snapshot/test_snapshot_create.py')
0 files changed, 0 insertions, 0 deletions