Closed SwapnilGaonkar7 closed 2 years ago
@SwapnilGaonkar7, kindly fix the commit message as, if there exists a ticket, kindly add a reference to the same,
mini-provisioning: unit tests are broken
Due to recent changes to consul kvs with respect to drives, corresponding
hare mini-provisioning tests are broken.
Change in the key is as follows
f'{hostname}/{disk_key}'
to
f'{hostname}/drives/{disk_key}'
Solution:
Modified keys used in tests according to new drive related key structure.
Signed-off-by: Swapnil Gaonkar <swapnil.gaonkar@seagate.com>
Solution: Modified keys used in tests according to new drive related key structure.
Change in the key is as follows self.kv.kv_put(f'{hostname}/{disk_key}', drive_info) to self.kv.kv_put(f'{hostname}/drives/{disk_key}', drive_info)
Tests: