Skip to content

Commit e83480b

Browse files
authored
CLOUDP-135608: Enable alerts test (#1478)
1 parent 6cc2e58 commit e83480b

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

test/e2e/atlas/alert_settings_test.go

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,16 @@ func TestAlertConfig(t *testing.T) {
7979
assert.FailNow(t, "Failed to create alert setting")
8080
}
8181

82-
// TODO: Uncomment once CLOUDP-135288 is resolved
83-
// t.Run("List", func(t *testing.T) {
84-
// cmd := exec.Command(cliPath,
85-
// alertsEntity,
86-
// configEntity,
87-
// "ls",
88-
// "-o=json")
89-
// cmd.Env = os.Environ()
90-
// resp, err := cmd.CombinedOutput()
91-
// assert.NoError(t, err, string(resp))
92-
// })
82+
t.Run("List", func(t *testing.T) {
83+
cmd := exec.Command(cliPath,
84+
alertsEntity,
85+
configEntity,
86+
"ls",
87+
"-o=json")
88+
cmd.Env = os.Environ()
89+
resp, err := cmd.CombinedOutput()
90+
assert.NoError(t, err, string(resp))
91+
})
9392

9493
t.Run("Update", func(t *testing.T) {
9594
cmd := exec.Command(cliPath,

0 commit comments

Comments
 (0)