]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
test_storwize_vdisk_copy_ops fails if green thread context switch
authorTao Bai <baitaosh@cn.ibm.com>
Fri, 20 Jun 2014 09:56:23 +0000 (02:56 -0700)
committerTao Bai <baitaosh@cn.ibm.com>
Mon, 23 Jun 2014 09:33:58 +0000 (02:33 -0700)
commit0edfa2eaab08a0756bf3ec7818cdc9a8a379ba87
tree3b9b0fdfbb975eea1342475612a881b2bbf19178
parent511fca5568cc92bb63b78cb7c2bed48b53388bfb
test_storwize_vdisk_copy_ops fails if green thread context switch

There is loopingcall(green thread)will cause _rm_vdisk_copy_op() run
twice.On the second time, the exception KeyError is not caught.

Closes-Bug: #1302670

Change-Id: I788f07c33f76693a13f0d581e687a32c6736a394
cinder/tests/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/__init__.py