Skip to content

Commit 6b6934b

Browse files
committed
Disable non-exclusive trans tests in mmfiles
1 parent f09e7d6 commit 6b6934b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/04-transactions.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe("Transactions", () => {
2727
expect(result).to.equal("test");
2828
});
2929
});
30-
describe("stream transactions", () => {
30+
describe35("stream transactions", () => {
3131
const name = `testdb_${Date.now()}`;
3232
let collection: DocumentCollection;
3333
before(async () => {
@@ -106,7 +106,7 @@ describe("Transactions", () => {
106106
expect(doc2).to.have.property("_key", "test2");
107107
});
108108

109-
it("does not leak when inserting a document", async () => {
109+
itRdb("does not leak when inserting a document", async () => {
110110
const trx = await db.beginTransaction(collection);
111111
await trx.run(() => collection.save({ _key: "test" }));
112112
let doc: any;
@@ -119,7 +119,7 @@ describe("Transactions", () => {
119119
expect(status).to.equal("committed");
120120
});
121121

122-
it("does not leak when inserting two documents at a time", async () => {
122+
itRdb("does not leak when inserting two documents at a time", async () => {
123123
const trx = await db.beginTransaction(collection);
124124
await trx.run(() =>
125125
Promise.all([
@@ -155,7 +155,7 @@ describe("Transactions", () => {
155155
if (doc) expect.fail("Document should not exist yet.");
156156
});
157157

158-
it("does not revert unrelated changes when aborted", async () => {
158+
itRdb("does not revert unrelated changes when aborted", async () => {
159159
const trx = await db.beginTransaction(collection);
160160
const meta = await collection.save({ _key: "test" });
161161
expect(meta).to.have.property("_key", "test");

0 commit comments

Comments
 (0)