]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix race in test_delete_backup
authorAvishay Traeger <avishay@il.ibm.com>
Mon, 24 Feb 2014 17:55:15 +0000 (19:55 +0200)
committerAvishay Traeger <avishay@il.ibm.com>
Mon, 24 Feb 2014 17:55:15 +0000 (19:55 +0200)
commit115b6276ac3dd7b3e8c6a42e9d0d80709791b7a2
treeace573b8819d090940cf5c00a11c0793068ccaa3
parente96f3b513302cf2ddd362c39bf1b1e9680a1bc7e
Fix race in test_delete_backup

Unit test sporadically failed due to timing issue - the deletion
timestamp on the backup was exactly the same as timeutils.utcnow(),
causing the AssertGreater check to fail.  Change to AssertGreaterEqual.

Change-Id: Ia66d0d4bdae3242780a91f0d384cbd17caa8c197
Closes-bug: #1284227
cinder/tests/test_backup.py