Skip to content

Commit

Permalink
actually save first?
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Dec 20, 2024
1 parent ed5c329 commit e27ec5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flow/e2e/generic/generic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package e2e_generic
import (
"context"
"fmt"
"math"
"testing"

"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -342,7 +341,7 @@ func (s Generic) Test_Partitioned_Table() {
testName := fmt.Sprintf("test_name_%d", i)
_, err = s.Connector().Conn().Exec(context.Background(), fmt.Sprintf(`
INSERT INTO %s(name, created_at) VALUES ($1, '2024-%d-01')
`, srcSchemaTable, math.Max(1, i)), testName)
`, srcSchemaTable, max(1, i)), testName)
e2e.EnvNoError(t, env, err)
}
t.Log("Inserted 10 rows into the source table")
Expand Down

0 comments on commit e27ec5c

Please sign in to comment.