Commit c1939ba23d4 for woocommerce
commit c1939ba23d424fa98ef95a4d36f353440cc037ef
Author: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Date: Tue Nov 3 16:23:34 2026 +0200
Run object-cache API tests with one Playwright worker (#70580)
diff --git a/plugins/woocommerce/changelog/dev-object-cache-api-single-worker b/plugins/woocommerce/changelog/dev-object-cache-api-single-worker
new file mode 100644
index 00000000000..2e194ef22ad
--- /dev/null
+++ b/plugins/woocommerce/changelog/dev-object-cache-api-single-worker
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Run object-cache API tests with one worker to avoid SQLite cache lock failures; no production change.
diff --git a/plugins/woocommerce/package.json b/plugins/woocommerce/package.json
index 9648477f854..0319222f29f 100644
--- a/plugins/woocommerce/package.json
+++ b/plugins/woocommerce/package.json
@@ -71,7 +71,7 @@
"test": "pnpm test:unit",
"test:api": "pnpm test:e2e:default --project=api",
"test:api:hpos-off": "pnpm test:e2e:with-env default-hpos-disabled --project=api-hpos-disabled",
- "test:api:object-cache": "pnpm test:e2e:with-env default-object-cache --project=api",
+ "test:api:object-cache": "pnpm test:e2e:with-env default-object-cache --project=api --workers=1",
"test:api:tracking": "test \"$(pnpm --silent wp-env:e2e run cli wp option get woocommerce_allow_tracking)\" = \"yes\" && pnpm test:api",
"test:e2e:core-serial": "pnpm test:e2e:default --project=core-serial",
"test:e2e:core-parallel": "pnpm test:e2e:default --project=core-parallel",