简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

How can I replay a delayed completion without random sleeps?

RaviBarnes0563 · 2025年6月5日 10:03 UTC

已关闭
RA
RaviBarnes0563
Our offline FR5 result tracker lets an old attempt's completion finish the newer attempt when it arrives late; how should I make that sequence repeatable so the developer can test the fix, rather than hope a random delay reproduces it?

2 条回复

AN
AnilBarnes0549

Use a controlled event queue and test clock so you choose the order explicitly: start the first attempt, start the second, then deliver the first completion. Do both request and completion carry an attempt identity the tracker can compare?

10
RA
RaviBarnes0563

They only carried the reused job label; the revised fake interface now carries a separate attempt identity, and the queued late completion leaves the newer attempt waiting. The real interface change still needs agreement with its owner.

10

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .