Skip to content

Configure parametric test to get the golang tracer in same way as system-tests#2462

Merged
darccio merged 2 commits into
mainfrom
robertomonteromiguel/robertomonteromiguel/parameric_tests_set_golang_tracer
Dec 21, 2023
Merged

Configure parametric test to get the golang tracer in same way as system-tests#2462
darccio merged 2 commits into
mainfrom
robertomonteromiguel/robertomonteromiguel/parameric_tests_set_golang_tracer

Conversation

@robertomonteromiguel

Copy link
Copy Markdown
Contributor

Currently Parametric only executes tests using latest tracer release. We add support to run snapshot version of the golang tracer (dev).

The idea behind this is to use the same approach to install dd-trace-go as is used by system-tests (maintainability reasons).

We are using the previously existing script to install the tracer: utils/build/docker/golang/install_ddtrace.sh.

This PR is a intermediate steps to avoid conflicts on the tracer pipelines during the "migration process".

I will create a new PR to clean the obsolete code after merge the system-tests PR: DataDog/system-tests#1948

(Sorry for the msg of the first commit...copy-paste...)

What does this PR do?

Motivation

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.
  • Add an appropriate team label so this PR gets put in the right place for the release notes.

For Datadog employees:

  • If this PR touches code that handles credentials of any kind, such as Datadog API keys, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

@pr-commenter

pr-commenter Bot commented Dec 21, 2023

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2023-12-21 12:03:42

Comparing candidate commit 3652318 in PR branch robertomonteromiguel/robertomonteromiguel/parameric_tests_set_golang_tracer with baseline commit e592b5c in branch main.

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

@darccio
darccio merged commit a5129ef into main Dec 21, 2023
@darccio
darccio deleted the robertomonteromiguel/robertomonteromiguel/parameric_tests_set_golang_tracer branch December 21, 2023 14:08
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