Skip to content

Commit

Permalink
another test fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Mar 20, 2024
1 parent a56cf1d commit 10c43cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions flow/e2e/snowflake/peer_flow_sf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,6 @@ func (s PeerFlowE2ETestSuiteSF) Test_Interval_SF() {
flowConnConfig.MaxBatchSize = 100

// wait for PeerFlowStatusQuery to finish setup
// and then insert 20 rows into the source table
env := e2e.ExecutePeerflow(tc, peerflow.CDCFlowWorkflow, flowConnConfig, nil)
e2e.SetupCDCFlowStatusQuery(s.t, env, connectionGen)

Expand All @@ -1162,8 +1161,8 @@ func (s PeerFlowE2ETestSuiteSF) Test_Interval_SF() {
e2e.EnvNoError(s.t, env, err)

s.t.Log("Inserted a row into the source table")
err = s.checkJSONValue(dstTableName, "dur", "days", "20")
e2e.EnvNoError(s.t, env, err)
env.Cancel()
e2e.RequireEnvCanceled(s.t, env)
err = s.checkJSONValue(dstTableName, "dur", "days", "20")
require.NoError(s.t, err)
}

0 comments on commit 10c43cf

Please sign in to comment.