Basic test of appcontroller

This patch adds basic test for AppController that was provided by
  developers.

  Test case:
    1. Get AppController source on master node
    2. Create AppController in k8s
    3. Wait until pod with AppController is Running
    4. Wait until required thirdparty resources are created
    5. Create dependencies from test
    6. Create definitions from test
    7. Run AppController to create defined resources
    8. Check if resources are created in expected order

  This test could be run without environment creation via oslo.config:

    TESTS_CONFIGS="/path/to/config.ini"

  Sample run of this test (${fuel_ccp_installer} is path to
      fuel-ccp-installer repo):

    KARGO_COMMIT="kubednsrc"\
    AC_COMMIT="simple-test-case"\
    TESTS_CONFIGS="/path/to/config.ini"
      py.test -k ac_linear_test

Change-Id: If2970f8f25d9d42c519a4a4e307b47548b882cee
This commit is contained in:
Sergey Lebedev
2016-09-06 15:03:33 +03:00
parent 051e3d0143
commit 9748cca200
6 changed files with 299 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ def hardware(request, config):
manager = config.hardware.manager
if manager is None:
if manager == 'empty':
# No environment manager is used.
# 'config' should contain config.underlay.ssh settings
# 'config' should contain config.underlay.current_snapshot setting