Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cleanup for integration tests for warehouse #3412

Merged
merged 1 commit into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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