Skip to content

Commit fe22946

Browse files
chore: add oracle dialect by default to sql audit store test run (#735)
1 parent 9c5fca2 commit fe22946

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
- name: Unit and Integration tests
1919
run: |
2020
./gradlew clean build \
21-
-Psql.test.dialects=mysql
21+
-Psql.test.dialects=mysql,oracle

community/flamingock-auditstore-sql/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ configurations.testImplementation {
4040
tasks.test {
4141
// CI-specific configuration
4242
val isCI = System.getenv("CI")?.toBoolean() ?: false
43-
val enabledDialects = System.getProperty("sql.test.dialects") ?: if (isCI) "mysql" else "mysql,postgresql,mariadb"
43+
val enabledDialects = System.getProperty("sql.test.dialects") ?: if (isCI) "mysql,oracle" else "mysql,oracle,sqlserver"
4444

4545
systemProperty("sql.test.dialects", enabledDialects)
4646

community/flamingock-auditstore-sql/src/test/java/io/flamingock/community/sql/SharedSqlContainers.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ public String getDatabaseName() {
6464
}
6565
}
6666
.withPassword("oracle123")
67-
.withSharedMemorySize(1073741824L)
68-
.withStartupTimeout(Duration.ofMinutes(20))
67+
.withSharedMemorySize(2147483648L)
68+
.withStartupTimeout(Duration.ofMinutes(10))
69+
.withStartupAttempts(2)
6970
.waitingFor(new WaitAllStrategy()
7071
.withStrategy(Wait.forListeningPort())
7172
.withStrategy(Wait.forLogMessage(".*DATABASE IS READY TO USE.*\\n", 1))

0 commit comments

Comments
 (0)