blob: 24f8be29db0a1ffd56ec58749d7c4ccfb00b9bf7 [file] [log] [blame]
This is a testharness.js-based test.
PASS Explicitly committed data can be read back out.
PASS commit() on a version change transaction does not cause errors.
PASS A committed transaction becomes inactive immediately.
PASS A committed transaction is inactive in future request callbacks.
PASS Puts issued after commit are not fulfilled.
PASS Calling commit on an aborted transaction throws.
PASS Calling commit on a committed transaction throws.
PASS Calling abort on a committed transaction throws and does not prevent persisting the data.
PASS Calling txn.commit() when txn is inactive should throw.
PASS Transactions with same scope should stay in program order, even if one calls commit.
FAIL Transactions that explicitly commit and have errors should abort. assert_unreached: Transaction with invalid "add" call should not be completed. Reached unreachable code
Harness: the test ran to completion.