Skip to content

Move docker tests#85

Merged
codeboten merged 7 commits intoopen-telemetry:masterfrom
NathanielRN:move-tests
Oct 23, 2020
Merged

Move docker tests#85
codeboten merged 7 commits intoopen-telemetry:masterfrom
NathanielRN:move-tests

Conversation

@NathanielRN
Copy link
Copy Markdown
Contributor

Description

Moves the tests/opentelemetry-docker-tests from the core repo into the contrib repo.

The original code is being copied over from the Core repo here: https://github.com/open-telemetry/opentelemetry-python/tree/master/tests/opentelemetry-docker-tests

How Has This Been Tested?

CI tests will confirm it works correctly.

The only reason I didn't add tests yet (and I didn't plan to until we get all the packages we want in) is because the tests introduced here depend on other packages that will be coming (very soon hopefully!) in future PRs.

After the PRs with the packages are merged, I'll take the same approach I took in my large PR #47 where I got the tests to pass.

Checklist:

  • Followed the style guidelines of this project
    - [ ] Changelogs have been updated
    - [ ] Unit tests have been added
    - [ ] Documentation has been updated

lzchen and others added 5 commits August 4, 2020 19:10
…telemetry#1028)

Here is an example snippet that will not report tracing without this patch:

with psycopg2.connect(...) as conn, conn.cursor() as cursor:
    cursor.execute("select 1;")

Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
…text (open-telemetry#1146)

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Just a few changes requested.

- "16686:16686"
- "14268:14268"
- "9411:9411"
otopencensus:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The otopencensus tests should remain in the core repo as the opencensus exporter will remain there.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sounds good! I've removed all the OpenCensus Tests.

@@ -0,0 +1,60 @@
# Copyright The OpenTelemetry Authors
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same comment as above.

@@ -0,0 +1,77 @@
#!/usr/bin/env python3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This test should stay in the core repo as well, since this will be testing trace context propagation which is part of the API

Copy link
Copy Markdown
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks for the update!

@codeboten codeboten merged commit b408703 into open-telemetry:master Oct 23, 2020
@NathanielRN NathanielRN deleted the move-tests branch November 2, 2020 18:42
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.

5 participants