Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACID Behaviour Tests #41

Open
flyingsilverfin opened this issue May 5, 2020 · 1 comment
Open

ACID Behaviour Tests #41

flyingsilverfin opened this issue May 5, 2020 · 1 comment

Comments

@flyingsilverfin
Copy link
Member

flyingsilverfin commented May 5, 2020

We currently limit our transaction and connection BDD scenarios to open, isRead/Write, close and commit, sequentially and concurrently. However, we don't actually perform any operations within each open in transaction - such as attempting and expecting and exception on writing to a read transaction.

We need to test in parallel operations in various transactions. We should keep in mind this amounts to testing the isolation and serialisability of transactions in the DB, which should be designed properly

@flyingsilverfin flyingsilverfin self-assigned this May 5, 2020
@haikalpribadi haikalpribadi changed the title Do queries and check exceptions in Transaction BDD - ACID tests ACID Behaviour Tests May 11, 2020
@flyingsilverfin
Copy link
Member Author

Existing tests that should go in ACID tests:
define.feature : uncommitted transaction writes are not persisted
transaction.feature: write in a read transaction throws

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants