The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix/consumer-modal-tests-deterministic has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
70aca88acc5d03aa78988315ba6d3f02a10e50eb / zjncs <[email protected]>
test(web): make the consumer modal tests deterministic

The details modal re-diagnoses every 2s on a real-timer interval, so
under parallel load a tick landed mid-test in five modal tests - eating
a queued mock response or swapping the row under a click - and the
auto-refresh test waited on an exact call count that a second tick made
unsatisfiable. Fake only setInterval (the pattern the diagnostics race
test already uses), drive the refresh tick explicitly with
advanceTimersByTimeAsync, and assert the refreshed verdict behavior
rather than an exact count. Full parallel suite: zero ConsumerPage
failures where two runs previously produced seven and nine.

Closes #5625

Signed-off-by: zjncs <[email protected]>

Review adjustments (lizhimins): rebased onto rocketmq-studio c99b9ad5
and restored the file's trailing newline, which was the only real
conflict with #4968's appended tests; the same fake-interval treatment
now also covers the #4968 ignores-stale-subscription-responses test
(it queues two one-shot mocks plus an exact call-count assertion that a
stray 2s tick would eat, and the subscriptionRequestIdRef guard does
not prevent that); the five identical comment blocks are hoisted into
a single fakeModalDiagnosticInterval helper; evidence re-run on the
43-test rocketmq-studio file: 43/43 in isolation and 107/107 twice on
the targeted 4-file parallel pressure run.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/37900947025

With regards,
GitHub Actions via GitBox

Reply via email to