Skip to content

Commit

Permalink
minor test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Nov 23, 2023
1 parent 7ceb855 commit e720a67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flow/e2e/snowflake/peer_flow_sf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ func (s *PeerFlowE2ETestSuiteSF) Test_Complete_Simple_Flow_SF() {
}

// in a separate goroutine, wait for PeerFlowStatusQuery to finish setup
// and then insert 15 rows into the source table
// and then insert 20 rows into the source table
go func() {
e2e.SetupCDCFlowStateQuery(env, connectionGen)
// insert 10 rows into the source table
for i := 0; i < 10; i++ {
// insert 20 rows into the source table
for i := 0; i < 20; i++ {
testKey := fmt.Sprintf("test_key_%d", i)
testValue := fmt.Sprintf("test_value_%d", i)
_, err = s.pool.Exec(context.Background(), fmt.Sprintf(`
Expand Down Expand Up @@ -1208,7 +1208,7 @@ func (s *PeerFlowE2ETestSuiteSF) Test_Column_Exclusion() {
// in a separate goroutine, wait for PeerFlowStatusQuery to finish setup
// and then insert, update and delete rows in the table.
go func() {
e2e.SetupCDCFlowStatusQuery(env, connectionGen)
e2e.SetupCDCFlowStateQuery(env, connectionGen)

// insert 10 rows into the source table
for i := 0; i < 10; i++ {
Expand Down

0 comments on commit e720a67

Please sign in to comment.