Skip to content

Commit

Permalink
remove s.Error(err)
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Dec 30, 2023
1 parent 2a015f8 commit 543e4e3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions flow/e2e/postgres/peer_flow_pg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func (s PeerFlowE2ETestSuitePG) Test_Simple_Flow_PG() {
err = env.GetWorkflowError()

// allow only continue as new error
s.Error(err)
require.Contains(s.t, err.Error(), "continue as new")

err = s.comparePGTables(srcTableName, dstTableName, "id,key,value")
Expand Down Expand Up @@ -259,7 +258,6 @@ func (s PeerFlowE2ETestSuitePG) Test_Simple_Schema_Changes_PG() {
err = env.GetWorkflowError()

// allow only continue as new error
s.Error(err)
require.Contains(s.t, err.Error(), "continue as new")

env.AssertExpectations(s.t)
Expand Down Expand Up @@ -331,7 +329,6 @@ func (s PeerFlowE2ETestSuitePG) Test_Composite_PKey_PG() {
err = env.GetWorkflowError()

// allow only continue as new error
s.Error(err)
require.Contains(s.t, err.Error(), "continue as new")

err = s.comparePGTables(srcTableName, dstTableName, "id,c1,c2,t")
Expand Down Expand Up @@ -411,7 +408,6 @@ func (s PeerFlowE2ETestSuitePG) Test_Composite_PKey_Toast_1_PG() {
err = env.GetWorkflowError()

// allow only continue as new error
s.Error(err)
require.Contains(s.t, err.Error(), "continue as new")

// verify our updates and delete happened
Expand Down Expand Up @@ -488,7 +484,6 @@ func (s PeerFlowE2ETestSuitePG) Test_Composite_PKey_Toast_2_PG() {
err = env.GetWorkflowError()

// allow only continue as new error
s.Error(err)
require.Contains(s.t, err.Error(), "continue as new")

// verify our updates and delete happened
Expand Down Expand Up @@ -555,7 +550,6 @@ func (s PeerFlowE2ETestSuitePG) Test_PeerDB_Columns() {

err = env.GetWorkflowError()
// allow only continue as new error
s.Error(err)
require.Contains(s.t, err.Error(), "continue as new")
checkErr := s.checkPeerdbColumns(dstTableName, 1)
require.NoError(s.t, checkErr)
Expand Down

0 comments on commit 543e4e3

Please sign in to comment.