Skip to content

Commit

Permalink
Add back commented tests (#1707)
Browse files Browse the repository at this point in the history
  • Loading branch information
bathina2 committed Oct 26, 2022
1 parent eaed079 commit 9048b7c
Showing 1 changed file with 28 additions and 30 deletions.
58 changes: 28 additions & 30 deletions pkg/testing/integration_register.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 9048b7c

Please sign in to comment.