Permalink
Browse files

fix: ignore replication test until 11.1 to avoid random failures (#949)

Some replication tests looks that suffer from race conditions for a feature
that is missing from the server "Stopping logical replication protocol".

Full discussion: https://www.postgresql.org/message-id/flat/CAFgjRd3hdYOa33m69TbeOfNNer2BZbwa8FFjt2V5VFzTBvUU3w@mail.gmail.com#CAFgjRd3hdYOa33m69TbeOfNNer2BZbwa8FFjt2V5VFzTBvUU3w@mail.gmail.com
  • Loading branch information...
jorsol authored and vlsi committed Sep 21, 2017
1 parent 646a868 commit ee6443db167da735f5a9402d16f31c3ee6d719dc
Showing with 3 additions and 3 deletions.
  1. +3 −3 pgjdbc/src/test/java/org/postgresql/replication/LogicalReplicationTest.java
@@ -262,7 +262,7 @@ public void testAfterStartStreamingDBSlotStatusActive() throws Exception {
* wait new changes and until waiting messages from client ignores.
*/
@Test(timeout = 1000)
@HaveMinimalServerVersion("10.1")
@HaveMinimalServerVersion("11.1")
public void testAfterCloseReplicationStreamDBSlotStatusNotActive() throws Exception {
PGConnection pgConnection = (PGConnection) replConnection;
@@ -333,7 +333,7 @@ public void testAfterCloseConnectionDBSLotStatusNotActive() throws Exception {
* wait new changes and until waiting messages from client ignores.
*/
@Test(timeout = 10000)
@HaveMinimalServerVersion("10.1")
@HaveMinimalServerVersion("11.1")
public void testDuringSendBigTransactionConnectionCloseSlotStatusNotActive() throws Exception {
PGConnection pgConnection = (PGConnection) replConnection;
@@ -383,7 +383,7 @@ public void testDuringSendBigTransactionConnectionCloseSlotStatusNotActive() thr
* wait new changes and until waiting messages from client ignores.
*/
@Test(timeout = 60000)
@HaveMinimalServerVersion("10.1")
@HaveMinimalServerVersion("11.1")
public void testDuringSendBigTransactionReplicationStreamCloseNotActive() throws Exception {
PGConnection pgConnection = (PGConnection) replConnection;

0 comments on commit ee6443d

Please sign in to comment.