Skip to content

Commit

Permalink
chore: clean tav versions for mysql2, aws-sdk, ioredis and `pin…
Browse files Browse the repository at this point in the history
…o` (open-telemetry#1064)

* chore: narrow down mysql2 TAV versions

Specifically remove 2.2.3 from the list - install takes very long time.

* chore: narrow down aws-sdk versions

* chore: narrow down tav versions on ioredis

* chore: narrow down tav versions on pino
  • Loading branch information
rauno56 authored Jun 22, 2022
1 parent bb39a9e commit 78b5d61
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions plugins/node/opentelemetry-instrumentation-aws-sdk/.tav.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
"aws-sdk":
# there are so many version to test, it can take forever.
# we will just sample few of them
versions: ">=2.1130.0 || 2.1048.0 || 2.1012.0 || 2.647.0 || 2.308.0"
versions: ">=2.1157.0 || 2.1152.0 || 2.1132.0 || 2.1048.0 || 2.1012.0 || 2.647.0 || 2.308.0"
commands:
- npm run test
# Fix missing `contrib-test-utils` package
pretest: npm run --prefix ../../../ lerna:link

"@aws-sdk/client-s3":
versions: ">=3.83.0 || 3.58.0 || 3.54.0 || 3.6.1"
versions: ">=3.113.0 || 3.107.0 || 3.54.0 || 3.6.1"
commands:
- npm run test
# Fix missing `contrib-test-utils` package
pretest: npm run --prefix ../../../ lerna:link

"@aws-sdk/client-sqs":
versions: ">=3.85.0 || 3.82.0 || 3.58.0 || 3.54.0 || 3.43.0 || 3.24.0"
versions: ">=3.112.0 || 3.107.0 || 3.58.0 || 3.54.0 || 3.43.0 || 3.24.0"
commands:
- npm run test
# Fix missing `contrib-test-utils` package
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ioredis:
# Ignoring v4.19.0. Tests never ends. Caused by https://github.com/luin/ioredis/pull/1219
versions: "^2.5.0 || ^3.2.2 || 4.14.0 || 4.14.1 || 4.16.3 || 4.17.3 || 4.18.0 || 4.19.2 || 4.19.4 || 4.22.0 || 4.24.5 || 4.26.0 || 4.27.2 || 4.27.3 || ^4.27.6"
versions: "^2.5.0 || ^3.2.2 || 4.14.1 || 4.16.3 || 4.17.3 || 4.18.0 || 4.19.2 || 4.19.4 || 4.22.0 || 4.24.5 || 4.26.0 || 4.27.2 || ^4.27.6"
commands: npm run test

# Fix missing `contrib-test-utils` package
Expand Down
5 changes: 3 additions & 2 deletions plugins/node/opentelemetry-instrumentation-mysql2/.tav.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
mysql2:
- versions: 2.*
- versions: <3 >=2.3.2 || 2.3.0 || 2.2.5 || 2.1.0
# Skip 2.3.3 which installs types from git which takes 10m on it's own
commands: npm run test

# Fix missing `test-utils` package
pretest: npm run --prefix ../../../ lerna:link
- versions: 1.4.2 || 1.5.0 || 1.5.1 || 1.5.2 || 1.5.3 || 1.6.0 || 1.6.3 || 1.6.4 || 1.6.5 || 1.7.0
- versions: 1.4.2 || 1.5.3 || 1.6.4 || 1.6.5 || 1.7.0
# Skip v1.6.2, which is broken
commands: npm run test

Expand Down
2 changes: 1 addition & 1 deletion plugins/node/opentelemetry-instrumentation-pino/.tav.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pino:
versions: ">=5.14.0 < 8"
versions: "^8 || ^7.11.0 || 7.8.0 || 7.2.0 || ^6.13.1 || 5.17.0 || 5.14.0"
commands: npm run test

# Fix missing `contrib-test-utils` package
Expand Down

0 comments on commit 78b5d61

Please sign in to comment.