diff --git a/packages/server/src/api/routes/tests/row.spec.ts b/packages/server/src/api/routes/tests/row.spec.ts index a032f4324c..5051fb1a5b 100644 --- a/packages/server/src/api/routes/tests/row.spec.ts +++ b/packages/server/src/api/routes/tests/row.spec.ts @@ -38,11 +38,16 @@ import * as uuid from "uuid" const timestamp = new Date("2023-01-26T11:48:57.597Z").toISOString() tk.freeze(timestamp) +jest.setTimeout(99999999) +jest.unmock("mysql2") +jest.unmock("mysql2/promise") + const { basicRow } = setup.structures describe.each([ - ["internal", undefined], - ["postgres", databaseTestProviders.postgres], + // ["internal", undefined], + // ["postgres", databaseTestProviders.postgres], + ["mysql", databaseTestProviders.mysql], ])("/rows (%s)", (__, dsProvider) => { const isInternal = !dsProvider @@ -70,7 +75,7 @@ describe.each([ const generateTableConfig: () => SaveTableRequest = () => { return { - name: uuid.v4(), + name: uuid.v4().substring(0, 16), type: "table", primary: ["id"], primaryDisplay: "name", @@ -641,7 +646,7 @@ describe.each([ const createdRow = await config.createRow() const res = await config.api.row.bulkDelete(table._id!, { - rows: [createdRow, { _id: "2" }], + rows: [createdRow, { _id: "9999999" }], }) expect(res[0]._id).toEqual(createdRow._id)