From 50295a8741507e836fd4681d66d930d495cf2e73 Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Fri, 12 Apr 2024 11:26:11 +0100 Subject: [PATCH 1/3] try to reduce e2e CI logs --- e2e/packages/sync-test/setup/startBrowserAndPage.ts | 2 +- e2e/packages/sync-test/setup/startIndexer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/packages/sync-test/setup/startBrowserAndPage.ts b/e2e/packages/sync-test/setup/startBrowserAndPage.ts index 9cbced06a0..f5c860fb28 100644 --- a/e2e/packages/sync-test/setup/startBrowserAndPage.ts +++ b/e2e/packages/sync-test/setup/startBrowserAndPage.ts @@ -9,7 +9,7 @@ export async function startBrowserAndPage( const page = await browser.newPage(); await page.addInitScript(() => { - window.localStorage.setItem("debug", "mud:*"); + window.localStorage.setItem("debug", "mud:store-sync:createStoreSync"); }); // log uncaught errors in the browser page (browser and test consoles are separate) diff --git a/e2e/packages/sync-test/setup/startIndexer.ts b/e2e/packages/sync-test/setup/startIndexer.ts index 164f373e3e..ac0d3f9a55 100644 --- a/e2e/packages/sync-test/setup/startIndexer.ts +++ b/e2e/packages/sync-test/setup/startIndexer.ts @@ -31,7 +31,7 @@ export async function startIndexer(opts: StartIndexerOptions) { }); const env = { - DEBUG: "mud:*", + DEBUG: "mud:store-sync:createStoreSync", PORT: opts.port.toString(), CHAIN_ID: "31337", RPC_HTTP_URL: opts.rpcHttpUrl, From 2469062026bea93d5b82baa655f558d8a3e70c05 Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Fri, 12 Apr 2024 11:45:05 +0100 Subject: [PATCH 2/3] one more place --- e2e/packages/test-data/generateLogs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/packages/test-data/generateLogs.ts b/e2e/packages/test-data/generateLogs.ts index ba855efe61..c884066e17 100644 --- a/e2e/packages/test-data/generateLogs.ts +++ b/e2e/packages/test-data/generateLogs.ts @@ -38,7 +38,7 @@ export async function generateLogs( cwd: "../contracts", stdio: "pipe", env: { - DEBUG: "mud:*", + DEBUG: "mud:store-sync:createStoreSync", }, }); if (stderr) console.error(stderr); From e4739dacd74770f3c82d1754e22c7260f754c09c Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Fri, 12 Apr 2024 12:03:14 +0100 Subject: [PATCH 3/3] remove debug from e2e contracts .env --- e2e/packages/contracts/.env | 1 - 1 file changed, 1 deletion(-) diff --git a/e2e/packages/contracts/.env b/e2e/packages/contracts/.env index 5941f0e227..cc220e7518 100644 --- a/e2e/packages/contracts/.env +++ b/e2e/packages/contracts/.env @@ -3,4 +3,3 @@ # Anvil default private key: PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 VITE_CHAIN_ID=31337 -DEBUG=mud:*