hs-test: improve get stats
Type: test
Change-Id: Ie681ee43007f4fe787d51d80bda9b433dcb6c09a
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
diff --git a/extras/hs-test/mirroring_test.go b/extras/hs-test/mirroring_test.go
index 96cb348..03e9c03 100644
--- a/extras/hs-test/mirroring_test.go
+++ b/extras/hs-test/mirroring_test.go
@@ -15,9 +15,6 @@
s.log(string(o))
s.assertNotEmpty(o)
- // Check if log output from VPP contains 'no lcl port' warnings
- // TODO: Need to change after adding session worker counter
vppProxyContainer := s.getContainerByName(vppProxyContainerName)
- logContent := vppProxyContainer.log()
- s.assertNotContains(logContent, "no lcl port")
+ s.assertEqual(0, vppProxyContainer.vppInstance.GetSessionStat("no lcl port"))
}