From e27ec5c8ca259699cc13be39b92f45a705e92e0e Mon Sep 17 00:00:00 2001 From: Kevin Biju Date: Fri, 20 Dec 2024 19:48:36 +0530 Subject: [PATCH] actually save first? --- flow/e2e/generic/generic_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flow/e2e/generic/generic_test.go b/flow/e2e/generic/generic_test.go index 864da0730b..a56bcae476 100644 --- a/flow/e2e/generic/generic_test.go +++ b/flow/e2e/generic/generic_test.go @@ -3,7 +3,6 @@ package e2e_generic import ( "context" "fmt" - "math" "testing" "github.com/stretchr/testify/require" @@ -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")