diff options
author | Tibor Frank <tifrank@cisco.com> | 2016-10-27 15:33:42 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2016-11-07 17:07:12 +0100 |
commit | 440370de3fc66d5bb9754a55fa78ccce8c598f5d (patch) | |
tree | e5c9b88a6f854d9fc55d5e36e2897809b8fb1300 /tests/func/fds | |
parent | efe5c162d2311ed470285a6f84af7c0f3a0c109c (diff) |
CSIT-465: Common test setup and teardown
This test setup and teardown is aimed to be used with all functional
tests.
It does not include functionality to manipulate VMs (qemu).
Test setup includes:
- Setup all DUTs before test
- Save VPP PIDs
- Setup all TGs before traffic script
- Update All Interface Data On All Nodes
Test teardown includes:
- Show Packet Trace on All DUTs
- Show vpp trace dump on all DUTs
- Vpp Show Errors On All DUTs
- Check VPP PID in Teardown
Change-Id: Ifee0bd58b7865442c5b510852908fd8363e3c543
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'tests/func/fds')
-rw-r--r-- | tests/func/fds/provider_network.robot | 2 | ||||
-rw-r--r-- | tests/func/fds/tenant_network.robot | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/func/fds/provider_network.robot b/tests/func/fds/provider_network.robot index e1534b7134..612825d9a4 100644 --- a/tests/func/fds/provider_network.robot +++ b/tests/func/fds/provider_network.robot @@ -21,6 +21,7 @@ | Library | resources.libraries.python.Trace | Force Tags | HW_ENV | VM_ENV | SKIP_PATCH | Test Setup | Run Keywords | Setup all DUTs before test +| ... | AND | Save VPP PIDs | ... | AND | Setup all TGs before traffic script | Test Teardown | Run Keywords | Show Packet Trace on All DUTs | ${nodes} | ... | AND | Show vpp trace dump on all DUTs @@ -28,6 +29,7 @@ | ... | qemu_node1 | ... | AND | Qemu Teardown | ${dut2_node} | ${qemu_node2} | ... | qemu_node2 +| ... | AND | Check VPP PID in Teardown | Documentation | *Provider network FDS related.* | ... | ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG diff --git a/tests/func/fds/tenant_network.robot b/tests/func/fds/tenant_network.robot index e57b374583..ba26c8bb55 100644 --- a/tests/func/fds/tenant_network.robot +++ b/tests/func/fds/tenant_network.robot @@ -21,6 +21,7 @@ | Library | resources.libraries.python.Trace | Force Tags | HW_ENV | VM_ENV | SKIP_PATCH | Test Setup | Run Keywords | Setup all DUTs before test +| ... | AND | Save VPP PIDs | ... | AND | Setup all TGs before traffic script | Test Teardown | Run Keywords | Show Packet Trace on All DUTs | ${nodes} | ... | AND | Show vpp trace dump on all DUTs @@ -28,6 +29,7 @@ | ... | qemu_node1 | ... | AND | Qemu Teardown | ${dut2_node} | ${qemu_node2} | ... | qemu_node2 +| ... | AND | Check VPP PID in Teardown | Documentation | *Tenant network FDS related.* | ... | ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG |