From 261fbd6c9376c3b3e983d1e1386d735c0979a901 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Wed, 28 Oct 2026 11:55:31 +0000 Subject: [PATCH] test(cloudflare): Fix flaky D1 query span naming test The /query envelope can arrive before the /init one, which fails the in-order envelope check. Each expectation already identifies its request through url.path, so match them unordered. Co-Authored-By: Francesco Gringl-Novy --- .../cloudflare-integration-tests/suites/tracing/d1/test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-packages/cloudflare-integration-tests/suites/tracing/d1/test.ts b/dev-packages/cloudflare-integration-tests/suites/tracing/d1/test.ts index 9c88edd7b0a3..7810f9865b5b 100644 --- a/dev-packages/cloudflare-integration-tests/suites/tracing/d1/test.ts +++ b/dev-packages/cloudflare-integration-tests/suites/tracing/d1/test.ts @@ -118,6 +118,7 @@ it('names D1 query spans after their query summary', async ({ signal }) => { }, ]); }) + .unordered() .start(signal); await runner.makeRequest('get', '/init');