Skip to content

Commit 308d4f8

Browse files
authored
disable flaky assertion on TestActionDispatcher/Cancel_queued_action (#3138)
1 parent 39f3d77 commit 308d4f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/pkg/agent/application/dispatcher/dispatcher_test.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,9 @@ func TestActionDispatcher(t *testing.T) {
257257
t.Fatal("mock Handle never called")
258258
}
259259
def.AssertExpectations(t)
260-
queue.AssertExpectations(t)
260+
// Flaky assertion: https://github.com/elastic/elastic-agent/issues/3137
261+
// TODO: re-enabled when fixed
262+
// queue.AssertExpectations(t)
261263
})
262264

263265
t.Run("Retrieve actions from queue", func(t *testing.T) {

0 commit comments

Comments
 (0)