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

In localdb e2e tests, don't unnecessarily restart database #3004

Merged
merged 1 commit into from
Jan 27, 2020

Conversation

alisman
Copy link
Collaborator

@alisman alisman commented Jan 22, 2020

Unclear why this db restart was left in. It does not appear to be necessary.

-e MYSQL_PASSWORD=$DB_PASSWORD \
-e MYSQL_DATABASE=$DB_PORTAL_DB_NAME \
-v "$DB_DATA_DIR:/var/lib/mysql/" \
mysql:5.7
Copy link
Member

Choose a reason for hiding this comment

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

@alisman is the restart slow? I guess Q is "how does this part benefit local testing"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@inodb For some reason this causes things to fail for me. Everything works fine without it. A while back @pvannierop said he didn't recall why this was necessary and was ok with our removing it

Copy link
Contributor

Choose a reason for hiding this comment

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

No, its fine to remove this.

-e MYSQL_PASSWORD=$DB_PASSWORD \
-e MYSQL_DATABASE=$DB_PORTAL_DB_NAME \
-v "$DB_DATA_DIR:/var/lib/mysql/" \
mysql:5.7
Copy link
Contributor

Choose a reason for hiding this comment

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

No, its fine to remove this.

@alisman alisman merged commit fbe6452 into cBioPortal:master Jan 27, 2020
@alisman alisman deleted the localDB branch January 27, 2020 15:23
@inodb inodb added the chore This PR is related to code maintenance label Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore This PR is related to code maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants