commit | 73dcbc6dcfbaabdb81cf101174007d7ce9a52c41 | [log] [tgz] |
---|---|---|
author | Angus Salkeld <asalkeld@mirantis.com> | Mon Aug 31 09:02:58 2015 +1000 |
committer | Angus Salkeld <asalkeld@mirantis.com> | Fri Sep 04 10:29:57 2015 +1000 |
tree | 0d94450504ec5674fe186856f24c7da34c5419d2 | |
parent | 0e2511a5c146a90f6a36ec64243a4e794d39d289 [diff] |
Make the TestResource a bit smarter This is a better representation of how actual resources work. 1. implement check_*_complete 2. measure the time, not just do one sleep 3. add client_name and entity_name so we can actually talk to a service (even if it fails). 4. add some example usage in test_create_update.py 5. don't use json_snippet._properties The timeout works in a similar way to the waitcondition. Change-Id: I7d3fd0340fefe4a06b8d4f0952c162be604aa58c