]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Make test_create_delete_snapshot more robust
authorEric Harney <eharney@redhat.com>
Mon, 19 Jan 2015 19:01:45 +0000 (14:01 -0500)
committerEric Harney <eharney@redhat.com>
Mon, 19 Jan 2015 19:11:55 +0000 (14:11 -0500)
commit8740e0630938a88cd03c514ffe873613801f04b9
tree191c373735963f2e0434d1efa2a46ec0c9f35e1e
parentb3fd4e1450e5825c31c92a2db6aea550e272261e
Make test_create_delete_snapshot more robust

This patch does two things to improve this test, and
help debug issues with it failing.

- Add additional checks for contents of the first two
  expected notifications.
- Assert the length of the notifications list after checking
  its contents so that if it contains unexpected items, we can
  see what they are.  This should help with the current gate
  failures.

Change-Id: Ib92247389fb3be6d65a658880fd47e634f1da8d1
Related-Bug: #1412513
cinder/tests/test_volume.py