Skip to content

Commit e3e4fb8

Browse files
authored
add flyway.postgresql.transactional.lock=false in postgres (#33)
* add flyway.postgresql.transactional.lock=false in postgres * bump version --------- Co-authored-by: ggmaleva <ggmaleva@yandex.ru>
1 parent 5888ac5 commit e3e4fb8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<packaging>jar</packaging>
1313

1414
<artifactId>testcontainers-annotations</artifactId>
15-
<version>2.0.3</version>
15+
<version>2.0.4</version>
1616

1717
<name>testcontainers-annotations</name>
1818
<description>testcontainers-annotations</description>

src/main/java/dev/vality/testcontainers/annotations/postgresql/PostgresqlTestcontainerExtension.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ private void init(ConfigurableApplicationContext context, String[] properties) {
113113
"spring.flyway.password=" + password,
114114
"flyway.url=" + jdbcUrl,
115115
"flyway.user=" + username,
116-
"flyway.password=" + password)
116+
"flyway.password=" + password,
117+
"flyway.postgresql.transactional.lock=false")
117118
.and(properties)
118119
.applyTo(context);
119120
}

0 commit comments

Comments
 (0)