test/json: Fix. Clear most dependent subsytems first.
Change-Id: Id190684a658fdb15214a741ba290fe6cf520501d Signed-off-by: Pawel Kaminski <pawelx.kaminski@intel.com> Reviewed-on: https://review.gerrithub.io/417526 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
f0501959a0
commit
c8b03c762f
@ -137,7 +137,7 @@ if __name__ == "__main__":
|
||||
|
||||
@call_test_cmd
|
||||
def clear_config(args):
|
||||
for subsystem_item in args.client.call('get_subsystems'):
|
||||
for subsystem_item in reversed(args.client.call('get_subsystems')):
|
||||
args.subsystem = subsystem_item['subsystem']
|
||||
clear_subsystem(args)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user