Skip to content

Commit

Permalink
Re-enable failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething committed Dec 5, 2023
1 parent 85583cd commit 4ea0a63
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions integration/monitoring_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var _ = suite("monitoring/alerts/get", func(t *testing.T, when spec.G, it spec.S
)

output, err := cmd.CombinedOutput()
expect.NoError(err)
expect.NoError(err, string(output))

expect.Equal(strings.TrimSpace(getAlertPolicyOutput), strings.TrimSpace(string(output)))
})
Expand Down Expand Up @@ -94,8 +94,7 @@ UUID Type Description
`
)

// TODO: Re-enable test
var _ = suite.Pend("monitoring/alerts/create", func(t *testing.T, when spec.G, it spec.S) {
var _ = suite("monitoring/alerts/create", func(t *testing.T, when spec.G, it spec.S) {
var (
expect *require.Assertions
server *httptest.Server
Expand Down Expand Up @@ -155,7 +154,7 @@ var _ = suite.Pend("monitoring/alerts/create", func(t *testing.T, when spec.G, i
)

output, err := cmd.CombinedOutput()
expect.NoError(err)
expect.NoError(err, string(output))

expect.Equal(strings.TrimSpace(createAlertPolicyOutput), strings.TrimSpace(string(output)))
})
Expand Down Expand Up @@ -189,8 +188,7 @@ UUID Type Description
`
)

// TODO: Re-enable test
var _ = suite.Pend("monitoring/alerts/update", func(t *testing.T, when spec.G, it spec.S) {
var _ = suite("monitoring/alerts/update", func(t *testing.T, when spec.G, it spec.S) {
var (
expect *require.Assertions
server *httptest.Server
Expand Down Expand Up @@ -250,7 +248,7 @@ var _ = suite.Pend("monitoring/alerts/update", func(t *testing.T, when spec.G, i
)

output, err := cmd.CombinedOutput()
expect.NoError(err)
expect.NoError(err, string(output))

expect.Equal(strings.TrimSpace(updateAlertPolicyOutput), strings.TrimSpace(string(output)))
})
Expand Down

0 comments on commit 4ea0a63

Please sign in to comment.