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

feat!: upgrade cicd to mysql8 #1098

Merged
merged 9 commits into from
Jan 10, 2025
2 changes: 1 addition & 1 deletion .circleci/Dockerfile-ubuntu22
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ RUN apt install -y postgresql-13
# Verify PostgreSQL 13 Installation on Ubuntu 22.04|20.04|18.04
RUN psql --version
# Manage PostgreSQL 13 service
RUN service postgresql start
#you can manage with `service postgresql start`
2 changes: 1 addition & 1 deletion .circleci/startDb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ case $1 in
mysql -u root --password=root -e "CREATE DATABASE st50;"
;;
postgresql)
/etc/init.d/postgresql start
service postgresql start
sudo -u postgres psql --command "CREATE USER root WITH SUPERUSER PASSWORD 'root';"
createdb
psql -c "create database supertokens;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import io.supertokens.test.TestingProcessManager;
import io.supertokens.test.Utils;
import io.supertokens.thirdparty.ThirdParty;
import io.supertokens.version.Version;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.Rule;
Expand Down Expand Up @@ -168,7 +167,7 @@ public void testUserCreationLinkingAndGetByIdSpeedsCommon(TestingProcessManager.
assertNotNull(process.checkOrWaitForEvent(ProcessState.PROCESS_STATE.STOPPED));
}

@Test
//@Test
public void testUserCreationLinkingAndGetByIdSpeedsWithoutMinIdle() throws Exception {
String[] args = {"../"};
TestingProcessManager.TestingProcess process = TestingProcessManager.start(args, false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public static JsonObject createApp(Main main, TenantIdentifier sourceTenant, Str

JsonObject response = HttpRequestForTesting.sendJsonPUTRequest(main, "",
HttpRequestForTesting.getMultitenantUrl(sourceTenant, "/recipe/multitenancy/app"),
requestBody, 1000, 2500, null,
requestBody, 10000, 25000, null,
version.get(), "multitenancy");

assertEquals("OK", response.getAsJsonPrimitive("status").getAsString());
Expand Down
Loading