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

chore: fix pg-pool test env #706

Merged
merged 2 commits into from
Jan 17, 2020

Conversation

xiao-lix
Copy link
Contributor

No description provided.

@codecov-io
Copy link

codecov-io commented Jan 17, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@4ee004b). Click here to learn what that means.
The diff coverage is 98.13%.

@@            Coverage Diff            @@
##             master     #706   +/-   ##
=========================================
  Coverage          ?   92.64%           
=========================================
  Files             ?      222           
  Lines             ?    10342           
  Branches          ?      925           
=========================================
  Hits              ?     9581           
  Misses            ?      761           
  Partials          ?        0
Impacted Files Coverage Δ
...emetry-exporter-stackdriver-trace/src/transform.ts 100% <100%> (ø)
...-exporter-stackdriver-trace/test/transform.test.ts 100% <100%> (ø)
...elemetry-exporter-stackdriver-trace/src/version.ts 100% <100%> (ø)
...ntelemetry-exporter-stackdriver-trace/src/types.ts 100% <100%> (ø)
...y-exporter-stackdriver-trace/test/exporter.test.ts 100% <100%> (ø)
.../opentelemetry-plugin-pg-pool/test/pg-pool.test.ts 88.09% <60%> (ø)
...ntelemetry-exporter-stackdriver-trace/src/trace.ts 95.83% <95.83%> (ø)

@@ -94,8 +94,8 @@ describe('pg-pool@2.x', () => {
let pool: pgPool<pg.Client>;
const registry = new NodeTracerRegistry();
const logger = new NoopLogger();
const testPostgres = process.env.TEST_POSTGRES; // For CI: assumes local postgres db is already available
const testPostgresLocally = process.env.TEST_POSTGRES_LOCAL; // For local: spins up local postgres db via docker
const testPostgres = process.env.RUN_POSTGRES_TESTS; // For CI: assumes local postgres db is already available
Copy link
Member

Choose a reason for hiding this comment

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

Does this mean tests have not been running?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm afraid so, but it should been running before test-utils package.

@@ -54,6 +54,7 @@
"@types/pg-pool": "^2.0.1",
"@types/shimmer": "^1.0.1",
"codecov": "^3.6.1",
"cross-env": "^6.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

👍

@dyladan dyladan merged commit 25d1028 into open-telemetry:master Jan 17, 2020
@xiao-lix xiao-lix deleted the xiao/fix-pg-pool-test branch January 17, 2020 21:06
pichlermarc pushed a commit to dynatrace-oss-contrib/opentelemetry-js that referenced this pull request Dec 15, 2023
martinkuba pushed a commit to martinkuba/opentelemetry-js that referenced this pull request Mar 13, 2024
martinkuba pushed a commit to martinkuba/opentelemetry-js that referenced this pull request Mar 16, 2024
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.

6 participants