failureCount

Map of task ID → number of times it should fail before succeeding. Use to simulate retry scenarios.

Example: fakeWorker.failureCount["upload"] = 2 → fails 2 times, then succeeds.