Software Testing / Learning brief

Tom and the last slice

What this means in plain language

Lily's shared task lost a change when two people saved at the same moment. The last slice of cake shows what a race condition is, and how Tom forces the timing, repeats, and checks a rule.

Understand the full idea, step by step

Two people see one slice of cake left. Each looks, sees it, and reaches out at the same moment.

At Daily List, a to-do list app, something like that happened to Lily and a friend. They saved the same task at once, and one change vanished.

No error showed on either screen. Lily only noticed when she opened the task later.

Evidence & review

REVIEWED 2026-10-18

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

Concurrency, race condition and deadlock as taught in this academy. The people and the Daily List app are invented.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The Daily List cases are made up to show the idea.

Sources for this brief — 5 sources
  1. Market practice

    Testing for Race Conditions (Open Worldwide Application Security Project wiki) ↗ — Open Worldwide Application Security Project (OWASP) · Archived wiki page on testing for race conditions in web applications, where data read at one moment is used later and may have changed in between (search excerpt, page not opened)

    Per the search excerpt, the archived wiki page is about race conditions in web applications, where data read at one moment is used later and may have changed in between. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Archived wiki page. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Concurrency testing and race conditions guide (QASkills blog) ↗ — QASkills · Guide: release many workers at once, hit the check-then-act path and assert that totals and counters stay correct, because sequential tests can pass while the bug remains (search excerpt, page not opened)

    Per the search excerpt, the guide says to release many workers at once, hit the check-then-act path and assert that totals and counters stay correct, because sequential tests can pass while the bug remains. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Concurrency testing guide (Pinpoint blog) ↗ — Pinpoint · Guide: run the same operation from several threads against one shared resource and check the final state is correct (search excerpt, page not opened)

    Per the search excerpt, the guide suggests running the same operation from several threads against one shared resource and checking that the final state is correct. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Debugging Intermittent Test Failures (Firefox source docs) ↗ — Mozilla · Registry entry for the Firefox source documentation on intermittent failures. Used for the idea that a failure that comes and goes needs repeated runs and logs. Not reopened in this run.

    Project documentation. Per the search excerpt it advises repeating a test many times to catch a failure that only shows now and then, and notes some failures appear only when other tests run beside them. Written for one project, so general use is a reading across. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HEREConcurrency and race-condition testing ideasWhen many things happen at once, results can depend on who is first. Learn what concurrency, a race condition and a deadlock are, and how to test for them with repeats and checks.Opens at L0 Explain simply · about 12 min

Related briefs

Tom is off on Monday

Tom goes on leave for two weeks and Mei will cover his testing. A week early, Tom writes a note with the state of the release, the decisions he left open and why, where to explore, and who to call.

READ BRIEF