Skip to content

Commit 812bc64

Browse files
committed
Use forked version to enable testing against multiple postgresql versions.
1 parent 889b8ec commit 812bc64

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.sbt

+5-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ lazy val `finagle-postgres-integration` = project
109109

110110
lazy val test9 = integrationTests("9.6.17")
111111
lazy val test10 = integrationTests("10.11.0") // 10.12.0 fails to find libz for some reason
112-
lazy val test11 = integrationTests("11.7.0")
112+
lazy val test11 = integrationTests("11.6.0")
113113

114114
def integrationTests(v: String) = {
115115
val majorVersion = v.split('.') match {
@@ -125,6 +125,10 @@ def integrationTests(v: String) = {
125125
"io.zonky.test.postgres" % "embedded-postgres-binaries-darwin-amd64" % v % "test",
126126
)
127127
)
128+
.settings(
129+
parallelExecution in Test := false,
130+
javaOptions in Test += "-Duser.timezone=UTC" // TODO: investigate and submit a test to demonstrate that timezone handling is broken.
131+
)
128132
.settings(
129133
Test / sourceGenerators += Def.task {
130134
val file = (Test / sourceManaged).value / "com" / "twitter" / "finagle" / "postgres" / "IntegrationSpec.scala"

0 commit comments

Comments
 (0)