Skip to content

Dockerized mysql test dependencies #193

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
merged 3 commits into from
Sep 10, 2020

Conversation

nr-ahemsath
Copy link
Member

Description

Addresses issue #128 by adding a Dockerfile and associated docker-compose.yml entry to provide a MySQL database for use by the unbounded integration tests for our MySQL instrumentation.

Some minor changes were required to the test assertions to get the tests to pass, mostly due to database name case sensitivity. These changes don't change the logic of the tests.

This PR also cleans up some cruft from the test application that connects to the MySQL DB.

Testing

The unbounded integration tests pass locally and we'll make sure they pass in our internal CI before merging this PR.

Changelog

N/A

@nr-ahemsath nr-ahemsath added the testing Improvements or fixes to testing frameworks and/or tests without associated agent code changes label Sep 9, 2020
@nr-ahemsath nr-ahemsath added this to the OSS M2 - Integration Tests milestone Sep 9, 2020
@nr-ahemsath
Copy link
Member Author

jenkins retest this

@nr-ahemsath nr-ahemsath marked this pull request as draft September 9, 2020 18:30
@nr-ahemsath nr-ahemsath marked this pull request as ready for review September 9, 2020 21:01
Copy link
Member

@jaffinito jaffinito left a comment

Choose a reason for hiding this comment

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

Changes ran locally for me without any issues.
Changes look good to me.

@nr-ahemsath nr-ahemsath merged commit 03d6ca8 into main Sep 10, 2020
@nr-ahemsath nr-ahemsath deleted the dockerized-mysql-test-dependencies branch September 10, 2020 20:59
@bgrainger bgrainger mentioned this pull request Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Improvements or fixes to testing frameworks and/or tests without associated agent code changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants