The Amazon Web Services (AWS) ODBC Driver for MySQL allows an application to take advantage of the features of clustered MySQL databases. It is based on and can be used as a drop-in compatible for the MySQL Connector/ODBC driver, and is compatible with all MySQL deployments.
Other
41
stars
4
forks
source link
chore: update dockerized tests to run on Windows #207
Updates Dockerized Integration tests to be able to run on Windows Machines locally
Description
Pipes in n via yes to apt-get to auto decline configuration changes, e.g. when installing UnixOdbc so it won't update the odbc.ini file.
Unsure why UnixOdbc prompts this when done via test container executes on Windows but not on Linux or when starting a interactive bash session.
Runs the AWS SDK build script on the dockerized container to be able to create libraries needed when building the driver in Dockerized Container / Linux
Increases runtime as it will try to clone & do cmake, but won't do a full build if libraries already exist, e.g. if GH caches previous builds or if built locally
Made SESSION_TOKEN optional. Prior to change, will cause test setup failures as it will try to do String function isEmpty() on a null object.
Not part of this PR's scope, but some tests are still failing and causing segmentation faults and resulting in test container aborting with either 134 or 139. Issue exists when host system is Linux or Windows. These tests are flakey and have worked on occasion.
Summary
Updates Dockerized Integration tests to be able to run on Windows Machines locally
Description
n
viayes
toapt-get
to auto decline configuration changes, e.g. when installingUnixOdbc
so it won't update theodbc.ini
file.SESSION_TOKEN
optional. Prior to change, will cause test setup failures as it will try to do String functionisEmpty()
on anull
object.134
or139
. Issue exists when host system is Linux or Windows. These tests are flakey and have worked on occasion.Review Status
Additional Reviewers