Skip to content

Commit

Permalink
Run mock-oauth-server in separate docker-compose project
Browse files Browse the repository at this point in the history
Signed-off-by: joshvanl <[email protected]>
  • Loading branch information
JoshVanL committed Aug 1, 2023
1 parent a96da7f commit 2b1746d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/certification/pubsub/pulsar/pulsar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func TestPulsar(t *testing.T) {
t.Log("Starting OIDC server...")
out, err := exec.Command(
"docker-compose",
"-p", clusterName,
"-p", "oidc",
"-f", dockerComposeMockOAuthYAML,
"up", "-d").CombinedOutput()
require.NoError(t, err, string(out))
Expand All @@ -129,15 +129,15 @@ func TestPulsar(t *testing.T) {
t.Log("Stopping OIDC server...")
out, err := exec.Command(
"docker-compose",
"-p", clusterName,
"-p", "oidc",
"-f", dockerComposeMockOAuthYAML,
"logs").CombinedOutput()
t.Log(err)
t.Log(string(out))

out, err = exec.Command(
"docker-compose",
"-p", clusterName,
"-p", "oidc",
"-f", dockerComposeMockOAuthYAML,
"down", "-v",
"--remove-orphans").CombinedOutput()
Expand Down

0 comments on commit 2b1746d

Please sign in to comment.