8 Commits

Author SHA1 Message Date
Thomas Herve
0e9f78df82 Fix race condition in tests with swift key
In integration we publish templates in Swift using temporary URLs.
Unfortunately there is a race condition in the way we setup the key, as
we use the key global to the account. This switches to a container per
test and a key per container to work around that.

Change-Id: Ia19967696811847e5b3ba07df68848a1708c2316
Closes-Bug: #1491773
2016-01-06 11:19:42 +01:00
LiuNanke
208d2debd0 Using LOG.warning replace LOG.warn
*Python 3 deprecated the logger.warn method, see:
*https://docs.python.org/3/library/logging.html#logging.warning
*so we prefer to use warning to avoid DeprecationWarning.

Change-Id: I07ee9c97c3548c965aaf83d34b37b23e9baba584
2015-12-29 09:32:42 +00:00
Angus Salkeld
e9c6115ec9 Try polling swift object before creating stack
Change-Id: I185d13c8c89df7ee27a7b4740d8895b3367fafa6
Closes-bug: #1491773
2015-10-06 13:59:31 +10:00
Rabi Mishra
25becbcbf4 Add config entries to skip integration tests
This adds options to skip scenario and functional tests.
You can either skip the complete set of tests or list of specific
tests.

Following new config options are added:

`skip_scenario_tests` -  Skip all scenario tests
`skip_functional_tests` - Skip all functional tests
`skip_functional_test_list` - List of functional tests to skip
`skip_scenario_test_list` - List of scenario tests to skip
`skip_test_stack_action_list` - List of actions in tests to skip

Change-Id: I7a5233f5db1f065ccee5a97408c72203c108a656
Depends-On: I25c5e853f0499b88f2803b077d19e132140908f1
2015-08-07 07:29:20 +00:00
Sirushti Murugesan
19ce39d101 Update urllib/httplib/cStringIO to use six.moves
partial blueprint heat-python34-support

Change-Id: I00a7064560a95a33dcb1e621961765822d4e94d4
2015-04-23 19:45:36 +05:30
Angus Salkeld
bbb18e76f3 Use helper functions stack_suspend and stack_resume
These wait for the stack state to get to complete,
this wasn't done consistently. In test_autoscaling we were
only waiting for the resource state to get to SUSPEND_COMPLETE
and this lead to a time sensitive bug.

Change-Id: Id985d833dc0b4cab1e3cb9d8f67d5d8cc94b5863
Closes-bug: #1438717
2015-04-10 15:44:07 +10:00
Steve Baker
c21bca268a Use oslo.log for heat_integrationtests
Later the integration jobs can be tuned to have their own
logging settings.

This change also raises _log_console_output to info, so it is displayed
by default.

Change-Id: Ifcaa6faf76c655e0c8cfd7d76775b80de70062c4
2015-03-17 17:36:56 +13:00
Angus Salkeld
fe762a51fa Move aws nested stack tests to functional tests
- use swift to post templates to.
- move limit tests to test_stack_resource

Part of blueprint decouple-nested
Change-Id: Id11e86835addc21301b3534a559d1754a802425e
2015-02-03 18:53:30 +10:00