Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracetest #142

Merged
merged 7 commits into from
Jul 13, 2023
Merged

Tracetest #142

merged 7 commits into from
Jul 13, 2023

Conversation

ondrej-fabry
Copy link
Member

@ondrej-fabry ondrej-fabry commented Jul 6, 2023

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:

  • Add integration tests for trace functionality
  • Add README for integration tests
  • Skip old trace tests

Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
@ondrej-fabry ondrej-fabry added the ci Continous Integration label Jul 6, 2023
@ondrej-fabry ondrej-fabry added this to the v0.8.0 milestone Jul 6, 2023
@ondrej-fabry ondrej-fabry requested a review from a team July 6, 2023 09:47
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
@ondrej-fabry ondrej-fabry linked an issue Jul 10, 2023 that may be closed by this pull request
@ondrej-fabry ondrej-fabry requested a review from sknat July 11, 2023 11:08
Copy link
Contributor

@sknat sknat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 😄

@sknat sknat merged commit 773b44f into master Jul 13, 2023
@sknat sknat deleted the tracetest branch July 13, 2023 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ci Continous Integration
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Investigate intermittent failure of TestTraceEnabled
2 participants