---
title: "Getting from tested to battle-tested"
description: "Jane Street's Aria, a low-latency message bus with strong ordering guarantees, already had unit, simulated-network, quickcheck, AFL fuzz, version-skew, lab and chaos tests, yet adding Antithesis's deterministic-hypervisor testing surfaced two unknown bugs on the first run."
url: "https://swe.quest/articles/getting-from-tested-to-battle-tested-e1b6bb8c2cdb1387"
canonical: "https://blog.janestreet.com/getting-from-tested-to-battle-tested/"
source: "Jane Street Tech Blog"
published: "2025-12-03"
difficulty: "medium"
kind: "Case study"
reading_minutes: 13
tags: ["testing","distributed-systems","debugging","formal-methods","messaging"]
---

# Getting from tested to battle-tested

A post on [Jane Street Tech Blog](https://swe.quest/sources/jane-street.md), published 2025-12-03, 13 min read, Case study. Original: [https://blog.janestreet.com/getting-from-tested-to-battle-tested/](https://blog.janestreet.com/getting-from-tested-to-battle-tested/)

## Summary

Jane Street's Aria, a low-latency message bus with strong ordering guarantees, already had unit, simulated-network, quickcheck, AFL fuzz, version-skew, lab and chaos tests, yet adding Antithesis's deterministic-hypervisor testing surfaced two unknown bugs on the first run. A worked example traces a crash to a tip-retransmitter that, after restarting from a snapshot and before filling its ring buffer, served NUL bytes instead of an error for requests predating the snapshot. The bug had been masked for local clients by service discovery and was only exposed when cross-region clients started optimistically connecting. The investigation used Antithesis's rewind, branching and in-VM tcpdump to pin down the exact request offset versus snapshot offset.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)
- [Debugging](https://swe.quest/tags/debugging.md) (Engineering practices)
- [Formal methods](https://swe.quest/tags/formal-methods.md) (Architecture & design)
- [Queues & messaging](https://swe.quest/tags/messaging.md) (Backend & APIs)

## Prerequisites

- distributed systems basics ([easy posts on Distributed systems](https://swe.quest/tags/distributed-systems.md?difficulty=easy))
- fuzzing and property-based testing ([easy posts on Vulnerability research](https://swe.quest/tags/vulnerability-research.md?difficulty=easy))
- Docker Compose ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))

## Keywords

Antithesis, Aria, Jane Street, AFL, Quickcheck, tcpdump, Docker Compose

## Related posts

- [A Descent Into the Vörtex](https://swe.quest/articles/a-descent-into-the-vortex-6dcd52020263ac13.md): TigerBeetle · 2025-02-13 · Medium · 3 min read · Testing, Chaos engineering, Distributed databases, Zig
  TigerBeetle has added Vortex, a non-deterministic, generative full-system test harness that complements its Deterministic Simulation Testing by exercising real production binaries and client libraries from the outside in.
- [The final boss of reliability: formal verification](https://swe.quest/articles/the-final-boss-of-reliability-formal-verification-7d09556f91a9c3f0.md): Turso · 2026-07-07 · Medium · 6 min read · Formal methods, Testing, Storage engines, SQLite, Rust
  Turso, a from-scratch SQLite rewrite, is adding formal verification via Aretta AI's Aristo, which turns natural-language intents annotated on code into formally checked properties, to complement its deterministic simulation testing and Antithesis runs.
- [How we use formal modeling, lightweight simulations, and chaos testing to design reliable distributed systems](https://swe.quest/articles/how-we-use-formal-modeling-lightweight-simulations-and-chaos-testing-to-design-aca03cf9b6abf48d.md): Datadog Engineering · 2024-11-20 · Hard · 23 min read · Formal methods, Queues & messaging, Distributed systems, Chaos engineering, Multi-tenancy
  Datadog validated the design of Courier, a multi-tenant message queue built on multiple FoundationDB clusters after its March 2023 outage, by combining TLA+ formal modeling, lightweight simulations and chaos testing.
- [We Put a Distributed Database In the Browser – And Made a Game of It!](https://swe.quest/articles/we-put-a-distributed-database-in-the-browser-and-made-a-game-of-it-0b24aa4c3e59c84b.md): TigerBeetle · 2023-07-11 · Easy · 5 min read · Formal methods, Consensus, Testing, WebAssembly, Zig
  TigerBeetle's deterministic simulator, the VOPR, is compiled to WebAssembly via Zig and wrapped in a playable browser game that runs real TigerBeetle replicas across three levels.
- [Protocol-Aware Deterministic Simulation Testing](https://swe.quest/articles/protocol-aware-deterministic-simulation-testing-7f3b613be8faf2a6.md): TigerBeetle · 2026-08-20 · Hard · 10 min read · Formal methods, Testing, Consensus, Replication, Storage engines
  TigerBeetle's deterministic simulator (the VOPR) has full visibility into each replica's consensus and storage state, so it can check invariants that black-box tools like Jepsen or Antithesis cannot see through user-facing APIs.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
