summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/suite_veth_test.go
AgeCommit message (Collapse)AuthorFilesLines
2023-12-15hs-test: remove unnecessary app ns configsFilip Tehlar1-8/+0
Type: test Change-Id: I0226227dc756a5a3af5e9d3b0d65a38c0aa55b3d Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2023-05-20hs-test: support for multiple workersFilip Tehlar1-11/+8
Type: test Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: Ie90e4b02c268bc3ca40171b03829f5686fb83162
2023-03-15hs-test: use consistent naming conventionMaros Ondrejicka1-5/+5
Exported indentifiers in Go start with capital letters. Only few fields in hs-test, which are being unmarshaled from yaml are required to be exported. Every other field name or method name should start with lower-case letter, to be consistent with this naming convention. Type: test Signed-off-by: Maros Ondrejicka <mondreji@cisco.com> Change-Id: I7eab0eef9fd08a7890c77b6ce1aeb3fa4b80f3cd
2023-02-28hs-test: add option to unconfigure topologyMaros Ondrejicka1-0/+2
Adding `UNCONFIGURE=true` argument when running `make test` will skip test run and unconfigure existing topology for that test. Type: test Signed-off-by: Maros Ondrejicka <mondreji@cisco.com> Change-Id: I197747a56ca68807f0b2c3f25b6f61c3dcc41ace
2023-02-10hs-test: refactor test cases from ns suiteMaros Ondrejicka1-14/+2
This converts more tests to configure VPP from test context. Type: test Signed-off-by: Maros Ondrejicka <maros.ondrejicka@pantheon.tech> Change-Id: Idf26b0c16f87e87c97b198412af39b99d947ced6
2023-02-09hs-test: configure VPP from test contextMaros Ondrejicka1-1/+83
Instead of configuring VPP instances running inside of a container, now the configuration is going to be done from within the test context by using binary API and shared volume that exposes api socket. This converts just some of the test cases, rest is to follow. Type: test Signed-off-by: Maros Ondrejicka <maros.ondrejicka@pantheon.tech> Change-Id: I87e4ab15de488f0eebb01ff514596265fc2a787f
2023-01-09hs-test: fix code styleFilip Tehlar1-1/+0
This will add a new target (fixstyle) to Makefile that runs gofmt tool. Type: style Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: Icba60633f82aa8bbc75749f080e00f0375b55a18
2022-12-19hs-test: abstract away topology from test casesMaros Ondrejicka1-0/+16
Definition of shared volumes and containers has been moved to yaml files to be together with network topology. Containers are automatically run at the beginning of each test case and stopped afterward. Type: test Signed-off-by: Maros Ondrejicka <maros.ondrejicka@pantheon.tech> Change-Id: I264cbb4f1355f8bd7aade221e9609fb5b9bd693e