Skip to content

Commit

Permalink
chore: cleanup for integration tests for warehouse (#3412)
Browse files Browse the repository at this point in the history
  • Loading branch information
achettyiitr authored May 30, 2023
1 parent 3ecea32 commit 3323427
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 52 deletions.
4 changes: 0 additions & 4 deletions warehouse/integrations/azure-synapse/azure_synapse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ func TestIntegration(t *testing.T) {
}

c := testcompose.New(t, compose.FilePaths([]string{"testdata/docker-compose.yml", "../testdata/docker-compose.jobsdb.yml", "../testdata/docker-compose.minio.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down
4 changes: 0 additions & 4 deletions warehouse/integrations/bigquery/bigquery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ func TestIntegration(t *testing.T) {
}

c := testcompose.New(t, compose.FilePaths([]string{"../testdata/docker-compose.jobsdb.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down
20 changes: 0 additions & 20 deletions warehouse/integrations/clickhouse/clickhouse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ func TestIntegration(t *testing.T) {
}

c := testcompose.New(t, compose.FilePaths([]string{"testdata/docker-compose.clickhouse.yml", "testdata/docker-compose.clickhouse-cluster.yml", "../testdata/docker-compose.jobsdb.yml", "../testdata/docker-compose.minio.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down Expand Up @@ -406,10 +402,6 @@ func (m *mockUploader) GetLoadFilesMetadata(context.Context, warehouseutils.GetL

func TestClickhouse_LoadTableRoundTrip(t *testing.T) {
c := testcompose.New(t, compose.FilePaths([]string{"testdata/docker-compose.clickhouse.yml", "../testdata/docker-compose.minio.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down Expand Up @@ -676,10 +668,6 @@ func TestClickhouse_LoadTableRoundTrip(t *testing.T) {

func TestClickhouse_TestConnection(t *testing.T) {
c := testcompose.New(t, compose.FilePaths([]string{"testdata/docker-compose.clickhouse.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down Expand Up @@ -782,10 +770,6 @@ func TestClickhouse_TestConnection(t *testing.T) {

func TestClickhouse_LoadTestTable(t *testing.T) {
c := testcompose.New(t, compose.FilePaths([]string{"testdata/docker-compose.clickhouse.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down Expand Up @@ -891,10 +875,6 @@ func TestClickhouse_LoadTestTable(t *testing.T) {

func TestClickhouse_FetchSchema(t *testing.T) {
c := testcompose.New(t, compose.FilePaths([]string{"testdata/docker-compose.clickhouse.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down
4 changes: 0 additions & 4 deletions warehouse/integrations/datalake/datalake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ func TestIntegration(t *testing.T) {
}

c := testcompose.New(t, compose.FilePaths([]string{"testdata/docker-compose.yml", "../testdata/docker-compose.jobsdb.yml", "../testdata/docker-compose.minio.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down
4 changes: 0 additions & 4 deletions warehouse/integrations/deltalake-native/deltalake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ func TestIntegration(t *testing.T) {
}

c := testcompose.New(t, compose.FilePaths([]string{"testdata/docker-compose.yml", "../testdata/docker-compose.jobsdb.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down
4 changes: 0 additions & 4 deletions warehouse/integrations/mssql/mssql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ func TestIntegration(t *testing.T) {
}

c := testcompose.New(t, compose.FilePaths([]string{"testdata/docker-compose.yml", "../testdata/docker-compose.jobsdb.yml", "../testdata/docker-compose.minio.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down
4 changes: 0 additions & 4 deletions warehouse/integrations/postgres/postgres_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ func TestIntegration(t *testing.T) {
}

c := testcompose.New(t, compose.FilePaths([]string{"testdata/docker-compose.yml", "../testdata/docker-compose.jobsdb.yml", "../testdata/docker-compose.minio.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down
4 changes: 0 additions & 4 deletions warehouse/integrations/redshift/redshift_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ func TestIntegration(t *testing.T) {
}

c := testcompose.New(t, compose.FilePaths([]string{"../testdata/docker-compose.jobsdb.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down
4 changes: 0 additions & 4 deletions warehouse/integrations/snowflake/snowflake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ func TestIntegration(t *testing.T) {
}

c := testcompose.New(t, compose.FilePaths([]string{"../testdata/docker-compose.jobsdb.yml"}))

t.Cleanup(func() {
c.Stop(context.Background())
})
c.Start(context.Background())

misc.Init()
Expand Down

0 comments on commit 3323427

Please sign in to comment.