- Update docker compose steps for mysql and spanner to use pytest
- Add infra and configuration for pytest to run tests
- Remove old "run.py" test setup
Closes STOR-235
* allowed cors origin and max_age to be configurable
* e2e test edit
* moved comment
* feedback changes
* e2e test edit
* remove extra line at end of file
Co-authored-by: JR Conlin <jconlin+git@mozilla.com>
* bug: fold commit message bsos into pending batch
The client may sometimes include bsos in the batch
commit message. The problem is that due to the way
that data is written to spanner, mutations do not
retain the ability to see data previously written
in the same transaction. This causes collisions.
To solve this, treat the bsos included in the commit
as another batch update, then commit all the data.
This does run the risk of bumping up against the
mutation limit, but it ensures the best chance of
data consistency.
Writing the commit bsos prior to batch commit will
result in the "newer" records being overwritten by
"older" ones in the batch.
Writing the commit bsos after the batch commit runs
the same mutation index conflict problem.
Closes#882
Co-authored-by: Philip Jenvey <pjenvey@underboss.org>