Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Persistent Configuration

#wip

Integration Tests

In order to cover the new functionality, making sure the implementation actually works, a couple of new Integration Tests were added under the test/integration/component directory:

  • test_vpc_offerings.py
    • That's an existing test, but it has been updated in order to cover the following:
      • Redundant VPC offering creation;
      • Create a Redundant VPC using the newly created offering
  • test_vpc_redundant.py
    •  

Running the tests

  • test_vpc_offerings.py
    • nosetests --with-marvin --marvin-config=[marvin_configuration_file_path] -s -a tags=advanced,required_hardware=false test_vpc_offerings.py

  • test_vpc_redundant.py
    • nosetests --with-marvin --marvin-config=[marvin_configuration_file_path] -s -a tags=advanced,required_hardware=true test_vpc_redundant.py

When running the "test_vpc_offerings.py", the required_hardware flag should be set to false. The test will only create the offering and a Redundant VPC, no further tests will be done (e.g. create VMs, etc).

However, concerning the  "test_vpc_redundant/py", it does need the required_hardware flag to be set to true.#wip

JIRA Issues

  • Jira
    serverASF JIRA
    serverId5aa69414-a9e9-3523-82ec-879b028fb15b
    keyCLOUDSTACK-764
  • Jira
    serverASF JIRA
    serverId5aa69414-a9e9-3523-82ec-879b028fb15b
    keyCLOUDSTACK-8616
  • Jira
    serverASF JIRA
    serverId5aa69414-a9e9-3523-82ec-879b028fb15b
    keyCLOUDSTACK-4605

...