Skip to content

Commit

Permalink
ci: fix rewriteBatchedStatements in ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Jan 12, 2025
1 parent 2788000 commit 5eb76c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .circleci/doOneMillionUsersTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ do
cd ../
echo $SUPERTOKENS_API_KEY > apiPassword
export ONE_MILLION_USERS_TEST=1
sed -i 's/# mysql_connection_uri:/mysql_connection_uri: mysql:\/\/root:root@localhost:3306?rewriteBatchedStatements=true/g' config.yaml

./utils/setupTestEnv --cicd
sed -i 's/# mysql_connection_uri:/mysql_connection_uri: mysql:\/\/root:root@localhost:3306?rewriteBatchedStatements=true/g' temp/config.yaml
./gradlew :supertokens-mysql-plugin:test --tests io.supertokens.storage.mysql.test.OneMillionUsersTest

if [[ $? -ne 0 ]]
Expand Down
1 change: 0 additions & 1 deletion .circleci/doTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ do
git checkout dev-v$pluginVersion
cd ../
echo $SUPERTOKENS_API_KEY > apiPassword
sed -i 's/# mysql_connection_uri:/mysql_connection_uri: mysql:\/\/root:root@localhost:3306?rewriteBatchedStatements=true/g' config.yaml

./startTestingEnv --cicd
TEST_EXIT_CODE=$?
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Adds mysql host to devConfig.yaml
run: "sed -i 's/# mysql_host:/mysql_host: mysql/g' ./devConfig.yaml"
run: "sed -i 's/# mysql_connection_uri:/mysql_connection_uri: mysql:\/\/root:root@mysql:3306?rewriteBatchedStatements=true/g' ./devConfig.yaml"
- name: Cloning supertokens-root
run: cd ../ && git clone https://github.com/supertokens/supertokens-root.git
- name: Update Java 1
Expand Down

0 comments on commit 5eb76c1

Please sign in to comment.