Skip to content

Adds an environment variable to set the MySQL max connections limit in vttestserver docker image#8210

Merged
harshit-gangal merged 10 commits intovitessio:masterfrom
planetscale:vttestserver-mysql-connections
Jun 1, 2021
Merged

Adds an environment variable to set the MySQL max connections limit in vttestserver docker image#8210
harshit-gangal merged 10 commits intovitessio:masterfrom
planetscale:vttestserver-mysql-connections

Conversation

@GuptaManan100
Copy link
Contributor

@GuptaManan100 GuptaManan100 commented May 31, 2021

Description

This PR adds an environment variable to set the MySQL max connections limit in vttestserver docker image. This will allow the users to set the MySQL max_connections even in the docker image of vttestserver.

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Signed-off-by: GuptaManan100 <manan@planetscale.com>
@GuptaManan100 GuptaManan100 added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: vttestserver labels May 31, 2021
@GuptaManan100 GuptaManan100 requested review from harshit-gangal, mcronce and systay and removed request for derekperkins and dkhenry May 31, 2021 06:07
Signed-off-by: GuptaManan100 <manan@planetscale.com>
Signed-off-by: GuptaManan100 <manan@planetscale.com>
Signed-off-by: GuptaManan100 <manan@planetscale.com>
Signed-off-by: GuptaManan100 <manan@planetscale.com>
Signed-off-by: GuptaManan100 <manan@planetscale.com>
Signed-off-by: GuptaManan100 <manan@planetscale.com>
Signed-off-by: GuptaManan100 <manan@planetscale.com>
@harshit-gangal
Copy link
Member

harshit-gangal commented May 31, 2021

The new test added is failing. @GuptaManan100 you need to look into it.

Signed-off-by: GuptaManan100 <manan@planetscale.com>
@GuptaManan100
Copy link
Contributor Author

@harshit-gangal cluster 12 seems to already have sufficient tests running on it, adding docker tests to it makes it fail with 11-minute timeout. I have moved the tests to run on cluster 26 instead since they had the least amount of tests currently.

Signed-off-by: GuptaManan100 <manan@planetscale.com>
@GuptaManan100 GuptaManan100 force-pushed the vttestserver-mysql-connections branch from 30a4ac3 to f9f6f75 Compare June 1, 2021 05:35
@GuptaManan100
Copy link
Contributor Author

reverted the tests for now. Will add them as a separate PR is needed

@harshit-gangal harshit-gangal merged commit ac2f193 into vitessio:master Jun 1, 2021
@harshit-gangal harshit-gangal deleted the vttestserver-mysql-connections branch June 1, 2021 09:04
Copy link
Collaborator

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

Niiice!

@GuptaManan100 GuptaManan100 mentioned this pull request Jun 3, 2021
2 tasks
@GuptaManan100
Copy link
Contributor Author

Tests are added in #8253

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: vttestserver Type: Enhancement Logical improvement (somewhere between a bug and feature)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants