Skip to content

Commit

Permalink
fixed tests since dropping non-existent slot is no longer an error
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Sep 20, 2023
1 parent 20dbc57 commit 721030b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flow/connectors/postgres/postgres_cdc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,7 @@ func (suite *PostgresCDCTestSuite) TestErrorForTableNotExist() {
}

err = suite.connector.PullFlowCleanup(nonExistentFlowName)
suite.Errorf(err, "error dropping replication slot:"+
"ERROR: replication slot \"%s\" does not exist (SQLSTATE 42704)", nonExistentFlowName)
suite.Nil(err)

// creating table and the replication slots for it, and dropping before pull records.
_, err = suite.connector.pool.Exec(context.Background(),
Expand Down

0 comments on commit 721030b

Please sign in to comment.