Skip to content

Commit 4d77401

Browse files
enabling spotbugs for datastore-postgres submodule (#36704)
1 parent c38c3be commit 4d77401

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

airbyte-cdk/java/airbyte-cdk/datastore-postgres/build.gradle

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ compileKotlin {
1111
}
1212
}
1313

14-
spotbugsTest.enabled = false
15-
1614
dependencies {
1715
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies')
1816
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core')

airbyte-cdk/java/airbyte-cdk/datastore-postgres/src/test/kotlin/io/airbyte/cdk/db/PostgresUtilsTest.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ internal class PostgresUtilsTest {
108108
}
109109

110110
companion object {
111-
lateinit var PSQL_DB: PostgreSQLContainer<Nothing>
111+
var PSQL_DB: PostgreSQLContainer<Nothing> =
112+
PostgreSQLContainer<Nothing>("postgres:13-alpine")
112113

113114
@JvmStatic
114115
@BeforeAll
115116
fun init(): Unit {
116-
PSQL_DB = PostgreSQLContainer<Nothing>("postgres:13-alpine")
117117
PSQL_DB.start()
118118
}
119119
}

0 commit comments

Comments
 (0)