Commit Graph

31 Commits

Author SHA1 Message Date
Pekka Enberg
632e1a2952 antithesis: Improve index creation to sometimes use DESC too 2025-07-21 14:17:24 +03:00
Pekka Enberg
cd494a6ccd antithesis: Add ALTER TABLE parallel driver 2025-07-21 14:17:24 +03:00
Pekka Enberg
08e1f4a971 antithesis: Add DROP TABLE parallel driver 2025-07-21 13:40:28 +03:00
Pekka Enberg
bd30cb313c antithesis: Add CREATE TABLE parallel driver 2025-07-21 13:40:28 +03:00
Pekka Enberg
9788a8739c antithesis: Add DROP INDEX parallel driver 2025-07-21 13:40:28 +03:00
Pekka Enberg
02ccdd7194 antithesis: Add CREATE INDEX parallel driver 2025-07-21 13:40:28 +03:00
Pekka Enberg
ade013ae88 antithesis: Add shuffle-run.sh helper script 2025-07-21 12:56:20 +03:00
Pekka Enberg
29e7b41ca5 antithesis: Create indexes in first_setup.py 2025-07-21 12:55:37 +03:00
Pekka Enberg
0ebe6bb933 antithesis-tests: Enable indexes in Antithesis parallel drivers 2025-07-21 12:49:38 +03:00
Pekka Enberg
e90ff42484 antithesis: Fix first_setup.py to commit both transactions 2025-07-11 13:12:26 +03:00
Pekka Enberg
bada750135 antithesis: Fix transaction management
Commit 5216e67d ("bindings/python: Start transaction implicitly in
execute()") fixed transaction management in Python bindings, which means
we now need to execute explicit commit().
2025-07-10 10:16:33 +03:00
Jussi Saurio
f312227825 uv run ruff format && uv run ruff check --fix 2025-07-09 10:06:29 +03:00
Pekka Enberg
b895381ae6 Revert "Merge 'Reachable assertions in Antithesis Python Test for better logging' from Pedro Muniz"
This reverts commit dbbc3f5190, reversing
changes made to 1cd5a49705. We're missing
some mandatory parameters, causing these to fail under Antithesis.
2025-07-08 17:51:12 +03:00
pedrocarlo
e9361c0eba add more logging to antithesis tests
format python tests
2025-07-07 19:11:55 -03:00
Pekka Enberg
b9bba101d4 Rename limbo_stress to turso_stress 2025-07-04 12:53:58 +03:00
Pekka Enberg
82a727bcf2 antithesis: Fix Python linter complaints in parallel_driver_schema_rollback.py 2025-07-03 19:34:23 +03:00
Pekka Enberg
6a3042b5d4 antithesis: Add schema rollback parallel driver 2025-07-03 16:50:50 +03:00
Pekka Enberg
a5b539f1bf bindings/python: Rename package to pyturso 2025-06-27 11:27:08 +03:00
Pekka Enberg
a45f07a6ad antithesis: Add rollback parallel test driver 2025-06-25 20:02:09 +03:00
Pekka Enberg
28c2d24931 antithesis: Relax connect failure check
We also want to just ignore this under Antithesis:

``´
limbo.DatabaseError: Failed to open database: LockingError("Failed locking file. File is locked by another process")
```
2025-06-24 15:47:21 +03:00
Pekka Enberg
f8c2c7387f antithesis: Reduce number of stress iterations
...currently takes a very long time to run.
2025-06-24 14:15:46 +03:00
Pekka Enberg
963d7b7daf stress: Improve progress reporting
A stress run can take a long time. Improve progress reporting to improve
DX.
2025-06-23 17:25:38 +03:00
pedrocarlo
80ccca8827 ruff lint fix 2025-06-20 15:59:03 -03:00
pedrocarlo
b21b6db448 adjust project config to use UV 2025-06-20 15:59:03 -03:00
Pekka Enberg
74fc789719 antithesis: Add integritycheck parallel driver 2025-06-19 14:40:38 +03:00
Pekka Enberg
68d4389ee9 antithesis: Remove PRIMARY KEY and UNIQUE constraints
...we don't have indexing enabled by default so drop them.
2025-06-19 13:48:12 +03:00
Pekka Enberg
419ddf0cfa antithesis-tests: Make test drivers robust when database is locked
If multiple processes access the same database file concurrently, Limbo fails with:

```
LockingError("Failed locking file. File is locked by another process
```

Make test driver robust against that.
2025-06-19 10:14:18 +03:00
Pekka Enberg
1962990506 antithesis-tests: Don't fail tests on unique constraint violation
Unique constraint violation is not an error.
2025-05-29 16:10:14 +03:00
Pekka Enberg
e8bc3086f2 antithesis-tests: Fix generate_random_value() on older Python versions 2025-04-26 10:53:31 +03:00
Pekka Enberg
a7537be2b6 antithesis-tests: Fix accounts to be at least one 2025-04-26 09:38:03 +03:00
eric-dinh-antithesis
f993a22023 antithesis-tests: add all tests 2025-04-24 12:20:41 -04:00