Skip to content

Commit

Permalink
uncomment tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Schmidt committed Aug 15, 2024
1 parent 0637a80 commit d01fc95
Showing 1 changed file with 19 additions and 40 deletions.
59 changes: 19 additions & 40 deletions integration_single_node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,29 +50,16 @@ func TestSingleNodeSuite(t *testing.T) {

logger.Info("%v", slog.Any("cert", rootCA))
suites := []*SingleNodeTestSuite{
// {
// ServerTestBaseSuite: ServerTestBaseSuite{
// ComposeFile: "docker/multi-node/docker-compose.yml", // vanilla
// // SuiteFlags: []string{
// // "--log-level debug",
// // "--timeout 10s",
// // CreateFlagStr(flags.Seeds, avsHostPort.String()),
// // },
// AvsLB: false,
// AvsHostPort: avsHostPort,
// },
// },
{
ServerTestBaseSuite: ServerTestBaseSuite{
ComposeFile: "docker/multi-node/docker-compose.yml", // vanilla
AvsLB: false,
AvsHostPort: avsHostPort,
},
},
{
ServerTestBaseSuite: ServerTestBaseSuite{
ComposeFile: "docker/mtls/docker-compose.yml", // mutual tls
// SuiteFlags: []string{
// "--log-level debug",
// "--timeout 10s",
// CreateFlagStr(flags.Host, avsHostPort.String()),
// CreateFlagStr(flags.TLSCaFile, "docker/mtls/config/tls/ca.aerospike.com.crt"),
// CreateFlagStr(flags.TLSCertFile, "docker/mtls/config/tls/localhost.crt"),
// CreateFlagStr(flags.TLSKeyFile, "docker/mtls/config/tls/localhost.key"),
// },
AvsTLSConfig: &tls.Config{
Certificates: certificates,
RootCAs: rootCA,
Expand All @@ -81,26 +68,18 @@ func TestSingleNodeSuite(t *testing.T) {
AvsLB: true,
},
},
// {
// ServerTestBaseSuite: ServerTestBaseSuite{
// ComposeFile: "docker/auth/docker-compose.yml", // tls + auth (auth requires tls)
// // SuiteFlags: []string{
// // "--log-level debug",
// // "--timeout 10s",
// // CreateFlagStr(flags.Host, avsHostPort.String()),
// // CreateFlagStr(flags.TLSCaFile, "docker/auth/config/tls/ca.aerospike.com.crt"),
// // CreateFlagStr(flags.AuthUser, "admin"),
// // CreateFlagStr(flags.AuthPassword, "admin"),
// // },
// AvsCreds: NewCredentialsFromUserPass("admin", "admin"),
// AvsTLSConfig: &tls.Config{
// Certificates: nil,
// RootCAs: rootCA,
// },
// AvsHostPort: avsHostPort,
// AvsLB: true,
// },
// },
{
ServerTestBaseSuite: ServerTestBaseSuite{
ComposeFile: "docker/auth/docker-compose.yml", // tls + auth (auth requires tls)
AvsCreds: NewCredentialsFromUserPass("admin", "admin"),
AvsTLSConfig: &tls.Config{
Certificates: nil,
RootCAs: rootCA,
},
AvsHostPort: avsHostPort,
AvsLB: true,
},
},
}

for _, s := range suites {
Expand Down

0 comments on commit d01fc95

Please sign in to comment.