]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: wait for iscsi/target create/put
authorKefu Chai <kchai@redhat.com>
Thu, 26 Sep 2019 00:54:01 +0000 (08:54 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 26 Sep 2019 00:56:42 +0000 (08:56 +0800)
commit82d72161f2a0036008ebca8be101a50a80d9cf0e
treec2cdf7cf964ee50914ca3238223203d7a2efd74e
parent8d6d084d08d28c6afc0dc5246efd43b0a3dca00d
mgr/dashboard: wait for iscsi/target create/put

IscsiTarget.create() returns a Task, so we need to wait for its
completion before moving on.

the same applies to IscsiTarget.put()

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/tests/test_iscsi.py