diff options
author | adrianvillin <avillin@cisco.com> | 2024-02-12 02:44:53 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-02-15 02:38:10 +0000 |
commit | 7c675471e87c72be272c078fd481844e4efa64d0 (patch) | |
tree | 0fe20b6de72178124750a7a8f92155bef4a7c815 /extras/hs-test/suite_ns_test.go | |
parent | 0215ef1010fbe41a72d57e7cddc4fb18dc3d53d2 (diff) |
hs-test: improved logging
- improved readability of some error messages
- printing container logs to stdout on test failure (last 20 lines)
Type: test
Change-Id: Idbb358bdd89aa7b1a6bdc9d96bf029d4c299ce64
Signed-off-by: adrianvillin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test/suite_ns_test.go')
-rw-r--r-- | extras/hs-test/suite_ns_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/suite_ns_test.go b/extras/hs-test/suite_ns_test.go index 2c1ac34b414..4e8f497076a 100644 --- a/extras/hs-test/suite_ns_test.go +++ b/extras/hs-test/suite_ns_test.go @@ -34,11 +34,11 @@ func (s *NsSuite) SetupTest() { s.assertNil(vpp.start()) idx, err := vpp.createAfPacket(s.netInterfaces[serverInterface]) - s.assertNil(err) + s.assertNil(err, err) s.assertNotEqual(0, idx) idx, err = vpp.createAfPacket(s.netInterfaces[clientInterface]) - s.assertNil(err) + s.assertNil(err, err) s.assertNotEqual(0, idx) container.exec("chmod 777 -R %s", container.getContainerWorkDir()) |