FDio / govpp

Go toolset for the VPP.
Apache License 2.0
192 stars 81 forks source link

Tracetest #142

Closed ondrej-fabry closed 1 year ago

ondrej-fabry commented 1 year ago

This PR fixes #108, for which there is already another PR #116 (from @VladoLavor) that was aiming to resolve the random failures, but since it also contains a large code refactor for entire trace functionality, we decided to do a fix for random failures first, so make it for v0.8.0 and then deal with the trace refactor separately in the next release.

This PR skps the existing unit tests that had random failures and adds new integration tests which test trace functionality against real VPP instance. This is because the suspected reason for random failures is probably some race condition cause by request/reply handling in mock adapter.

Summary of changes: