From 9048b7cfc0ffd5434c5fa9c2e644dd1c9a759866 Mon Sep 17 00:00:00 2001 From: Sirish Bathina Date: Tue, 25 Oct 2022 15:36:42 -1000 Subject: [PATCH] Add back commented tests (#1707) --- pkg/testing/integration_register.go | 58 ++++++++++++++--------------- 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/pkg/testing/integration_register.go b/pkg/testing/integration_register.go index d64a087bf9..24bc7536ae 100644 --- a/pkg/testing/integration_register.go +++ b/pkg/testing/integration_register.go @@ -40,21 +40,20 @@ var _ = Suite(&PITRPostgreSQL{ }, }) -// TODO: Add back after https://github.com/kanisterio/kanister/pull/1705 merges -// // postgres app -// type PostgreSQL struct { -// IntegrationSuite -// } - -// var _ = Suite(&PostgreSQL{ -// IntegrationSuite{ -// name: "postgres", -// namespace: "postgres-test", -// app: app.NewPostgresDB("postgres", ""), -// bp: app.NewBlueprint("postgres", "", true), -// profile: newSecretProfile(), -// }, -// }) +// postgres app +type PostgreSQL struct { + IntegrationSuite +} + +var _ = Suite(&PostgreSQL{ + IntegrationSuite{ + name: "postgres", + namespace: "postgres-test", + app: app.NewPostgresDB("postgres", ""), + bp: app.NewBlueprint("postgres", "", true), + profile: newSecretProfile(), + }, +}) // mysql app type MySQL struct { @@ -116,21 +115,20 @@ var _ = Suite(&Maria{ }, }) -// TODO: Add back after https://github.com/kanisterio/kanister/pull/1705 merges -// // Elasticsearch app -// type Elasticsearch struct { -// IntegrationSuite -// } - -// var _ = Suite(&Elasticsearch{ -// IntegrationSuite{ -// name: "elasticsearch", -// namespace: "es-test", -// app: app.NewElasticsearchInstance("elasticsearch"), -// bp: app.NewBlueprint("elasticsearch", "", true), -// profile: newSecretProfile(), -// }, -// }) +// Elasticsearch app +type Elasticsearch struct { + IntegrationSuite +} + +var _ = Suite(&Elasticsearch{ + IntegrationSuite{ + name: "elasticsearch", + namespace: "es-test", + app: app.NewElasticsearchInstance("elasticsearch"), + bp: app.NewBlueprint("elasticsearch", "", true), + profile: newSecretProfile(), + }, +}) // MongoDB app type MongoDB struct {