From 58571cda1e56482c95b9d2907ace190664ccd209 Mon Sep 17 00:00:00 2001 From: Akash Chetty Date: Wed, 7 Sep 2022 23:39:01 +0530 Subject: [PATCH] chore(warehouse): skip warehouse snowflake test --- warehouse/snowflake/snowflake_test.go | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/warehouse/snowflake/snowflake_test.go b/warehouse/snowflake/snowflake_test.go index 0381f56ff2..c48d9d2086 100644 --- a/warehouse/snowflake/snowflake_test.go +++ b/warehouse/snowflake/snowflake_test.go @@ -6,7 +6,6 @@ import ( "database/sql" "encoding/json" "fmt" - "log" "os" "testing" @@ -72,6 +71,8 @@ func (t *TestHandle) VerifyConnection() (err error) { } func TestSnowflakeIntegration(t *testing.T) { + t.Skip() + // Cleanup resources // Dropping temporary schema t.Cleanup(func() { @@ -156,16 +157,16 @@ func TestSnowflakeIntegration(t *testing.T) { } func TestMain(m *testing.M) { - _, exists := os.LookupEnv(TestCredentialsKey) - if !exists { - log.Println("Skipping Snowflake Test as the Test credentials does not exits.") - return - } - - handle = &TestHandle{ - WriteKey: "2eSJyYtqwcFiUILzXv2fcNIrWO7", - Schema: testhelper.GetSchema(warehouseutils.SNOWFLAKE, TestSchemaKey), - Tables: []string{"identifies", "users", "tracks", "product_track", "pages", "screens", "aliases", "groups"}, - } - os.Exit(testhelper.Run(m, handle)) + //_, exists := os.LookupEnv(TestCredentialsKey) + //if !exists { + // log.Println("Skipping Snowflake Test as the Test credentials does not exits.") + // return + //} + // + //handle = &TestHandle{ + // WriteKey: "2eSJyYtqwcFiUILzXv2fcNIrWO7", + // Schema: testhelper.GetSchema(warehouseutils.SNOWFLAKE, TestSchemaKey), + // Tables: []string{"identifies", "users", "tracks", "product_track", "pages", "screens", "aliases", "groups"}, + //} + //os.Exit(testhelper.Run(m, handle)) }