chore(): improve workflow engine storage (#13345)
* chore(workflow-engines): Improve race condition management * cleanup * cleanup * chore(workflow-engines): Improve race condition management * chore(workflow-engines): Improve race condition management * chore(workflow-engines): heartbeat extend TTL * Refactor chore title for workflow engine improvements * chore(): Improve workflow execution db interaction * chore(): Improve workflow execution db interaction * chore(): Improve workflow execution db interaction * chore(): Improve workflow execution db interaction * chore(): Improve workflow execution db interaction * chore(): Improve workflow execution db interaction * chore(): Improve workflow execution db interaction * chore(): Improve workflow execution db interaction * chore(): Improve workflow execution db interaction * update tests * revert idempotent * add run_id index + await deletion * improve saving * comment * remove only --------- Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
co-authored by
Carlos R. L. Rodrigues
parent
b85a46e85b
commit
bd206cb250
@@ -8,7 +8,7 @@ import {
|
||||
import { setupTaxStructure } from "../../../../modules/__tests__/fixtures/tax"
|
||||
import { medusaTshirtProduct } from "../../../__fixtures__/product"
|
||||
|
||||
jest.setTimeout(50000000)
|
||||
jest.setTimeout(50000)
|
||||
|
||||
const adminHeaders = {
|
||||
headers: { "x-medusa-access-token": "test_token" },
|
||||
@@ -716,7 +716,6 @@ medusaIntegrationTestRunner({
|
||||
adminHeaders
|
||||
)
|
||||
|
||||
// Simulate concurrent requests
|
||||
await Promise.all([
|
||||
api
|
||||
.post(
|
||||
@@ -727,7 +726,6 @@ medusaIntegrationTestRunner({
|
||||
storeHeaders
|
||||
)
|
||||
.catch(() => {}),
|
||||
/*
|
||||
api
|
||||
.post(
|
||||
`/store/carts/${cart.id}`,
|
||||
@@ -737,7 +735,6 @@ medusaIntegrationTestRunner({
|
||||
storeHeaders
|
||||
)
|
||||
.catch(() => {}),
|
||||
*/
|
||||
])
|
||||
|
||||
const cartAfterPromotion = (
|
||||
|
||||
Reference in New Issue
Block a user