fix hardware starting
diff --git a/tcp_tests/fixtures/underlay_fixtures.py b/tcp_tests/fixtures/underlay_fixtures.py
index e7aaaf8..0637abf 100644
--- a/tcp_tests/fixtures/underlay_fixtures.py
+++ b/tcp_tests/fixtures/underlay_fixtures.py
@@ -85,8 +85,8 @@
# for devops manager: power on nodes and wait for SSH
# for empty manager: do nothing
# for maas manager: provision nodes and wait for SSH
- env.start()
if not env.has_snapshot(ext.SNAPSHOT.hardware):
+ env.start()
env.create_snapshot(ext.SNAPSHOT.hardware)
def fin():
diff --git a/tcp_tests/managers/tcpmanager.py b/tcp_tests/managers/tcpmanager.py
index d6712d3..146fbdd 100644
--- a/tcp_tests/managers/tcpmanager.py
+++ b/tcp_tests/managers/tcpmanager.py
@@ -46,7 +46,8 @@
def show_tcp_config(self):
cmd = 'reclass -n {0}'.format(self.__underlay.node_names()[0])
- self.__underlay.sudo_check_call(cmd, host=self.__config.tcp.tcp_host)
+ self.__underlay.sudo_check_call(cmd, host=self.__config.tcp.tcp_host,
+ verbose=True)
def install_tcp(self):
raise Exception("Not implemented!")
diff --git a/tcp_tests/tests/system/test_tcp_install.py b/tcp_tests/tests/system/test_tcp_install.py
index 1af0c62..9804a4e 100644
--- a/tcp_tests/tests/system/test_tcp_install.py
+++ b/tcp_tests/tests/system/test_tcp_install.py
@@ -23,19 +23,15 @@
class TestTCPInstaller(object):
"""Test class for testing TCP deployment"""
- @pytest.mark.snapshot_needed
+ # @pytest.mark.snapshot_needed
@pytest.mark.revert_snapshot(ext.SNAPSHOT.underlay)
@pytest.mark.fail_snapshot
def test_tcp_install_default(self, underlay, tcp_actions, show_step):
"""Test for deploying an tcp environment and check it
- Preconditions:
- 1. Environment with installed salt master and salt minions
- 2. Installed TCP salt formulas on salt master
-
Scenario:
1. Show TCP config
- """
+ """
show_step(1)
tcp_actions.show_tcp_config()