An old fixture completion finishes the new attempt in my offline test

GeorgeCasey · 29 Jul 2026, 19:25 UTC

Reply to discussion
GE
GeorgeCasey
I can make our offline FR5 fixture-check reporter accept an old completion as the result of a new attempt. It's for a sample inspection setup with a reference plate and recorded job events. Random sleeps make the failure annoyingly elusive. I want to choose the delivery order deliberately.

7 replies

SA
SamBell0681
Replying to GeorgeCasey

Could your test hold events in a queue until you explicitly release each one? Then you can start the new attempt, deliver the old completion and check the state immediately, without hoping a sleep lands at the right moment.

11 points
GE
GeorgeCasey
Replying to SamBell0681

Yes. The fake already owns delivery; I was delaying inside it rather than letting the test release a named event. That seems an unnecessary complication now.

10 points
ZA
ZaraBennett0743
Replying to GeorgeCasey

We distinguish the physical item from another attempt to process it in our changeover records. Does this reporter retain both, or is the plate name doing all the work?

10 points
SA
SamBell0681
Replying to ZaraBennett0743

Zara's distinction matters. I meant a named event in the test, but George also needs whatever correlation the real interface actually supplies. The fake shouldn't invent information the receiver will never get.

11 points
GE
GeorgeCasey
Replying to ZaraBennett0743

The plate name was effectively doing all the work. I've added explicit attempt identity to the application model, with the real event mapping left as an unresolved interface question.

19 points
ZA
ZaraBennett0743
Replying to GeorgeCasey

Include the same completion delivered twice after a legitimate finish. Rejecting the old attempt should not hide a separate duplicate-counting problem for the current one.

13 points
GE
GeorgeCasey
Replying to ZaraBennett0743

Both schedules now reproduce reliably offline. Old-attempt completion leaves the new attempt waiting; a duplicate adds nothing. I'm not calling the real reporter fixed until we establish its correlation evidence.

7 points

Add to the discussion

Welcome to Application Robot

Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.

Forgot your password?

By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.