Add k8s app test for per-commit job

Scenario:
            1. Create murano environment
            2. Create session for create environment.
            3. Initialize k8s cluster parameters and add app to env.
            4. Initialize k8s pod parameters and add app to env.
            5. Deploy session.
            7. Check env status and port availability on k8s master node.
            8. Get k8s minions' ips and check that correct initial number
            of them was created and k8s api port is available on them.
            9. Run 'scaleNodesUp' action for k8s minions.
            10. Check that number of minions was increased and
            k8s api port is available on all of them
            11. Run 'scaleNodesDown' action for k8s minions.
            12. Check that number of minions was decreased and
            k8s api port is available on all of them

Change-Id: I63bf61b6f9e5fd45b8e6bde0fab87da5826bedc6
This commit is contained in:
Anastasia Kuznetsova
2016-09-06 19:04:27 +03:00
parent 6547024fa3
commit a143e7c707
7 changed files with 838 additions and 0 deletions

6
test-requirements.txt Normal file
View File

@@ -0,0 +1,6 @@
testtools
requests
paramiko
python-muranoclient
python-heatclient
python-novaclient