Skip to content

Configure parametric test to get the cpp tracer in same way as system-tests #86

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

Merged

Conversation

robertomonteromiguel
Copy link
Contributor

@robertomonteromiguel robertomonteromiguel commented Jan 8, 2024

Configure parametric test to get the cpp tracer in same way as system-tests

Related with system-tests PR: DataDog/system-tests#1983

@pr-commenter
Copy link

pr-commenter bot commented Jan 8, 2024

Benchmarks

Benchmark execution time: 2024-01-08 10:49:26

Comparing candidate commit 5985edc in PR branch robertomonteromiguel/parameric_tests_set_cpp_tracer with baseline commit 2124de5 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

@robertomonteromiguel robertomonteromiguel marked this pull request as ready for review January 8, 2024 09:25
@robertomonteromiguel robertomonteromiguel requested review from dmehala and cgilmour and removed request for dmehala January 8, 2024 09:25
environment:
TEST_LIBRARY: cpp
DD_TRACE_CPP_COMMIT: << pipeline.git.revision >>
command: cd system-tests && ./build.sh -i runner && ./run.sh PARAMETRIC --log-cli-level=DEBUG
command: |
echo "https://github.com/DataDog/dd-trace-cpp@$DD_TRACE_CPP_COMMIT" > ~/project/system-tests/binaries/cpp-load-from-git
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this actually work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If it will work once we merge the PR: DataDog/system-tests#1983

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you just set the version of dd-trace-cpp instead of the whole github url?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is to maintain a certain similarity with other tracers. ie: https://github.com/DataDog/system-tests/blob/main/utils/scripts/load-binary.sh#L230

Co-authored-by: Damien Mehala <damien.mehala@datadoghq.com>
Copy link
Collaborator

@dmehala dmehala left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@robertomonteromiguel robertomonteromiguel merged commit cc703b2 into main Jan 8, 2024
@robertomonteromiguel robertomonteromiguel deleted the robertomonteromiguel/parameric_tests_set_cpp_tracer branch January 8, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants