test: Add a DST and tests reproducing found failures (#110)

Co-authored-by: Marcelo Soares <marcelo.me.soares@gmail.com>
This commit is contained in:
Kasper Overgård Nielsen 2026-09-04 18:09:20 +02:00 • committed by GitHub
commit c78af247fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,2 +1,22 @@
tags:
integration: {}
dst:
# A simulation drives many real SQLite transactions across replicas.
timeout: 5x
skip: 'Simulation suite: run with `dart test -P dst`'
# The simulation suite is excluded from an ordinary run. It is slow, and its
# seed base defaults to the current time, so it searches fresh schedules on
# every run and can fail for a defect unrelated to the change that triggered
# it. That is what makes it worth having, and what makes it a poor edit-loop
# signal.
#
# dart test -P dst the simulation suite
# DST_SEEDS=200 dart test -P dst a soak
# DST_SEED_BASE=<seed> DST_SEEDS=1 dart test -P dst replay one failure
presets:
dst:
include_tags: dst
tags:
dst:
skip: false