From 8b7c8aad40459913f37ce458b748951c08f8e300 Mon Sep 17 00:00:00 2001 From: Scott Cooper Date: Fri, 27 Sep 2024 11:17:07 -0700 Subject: [PATCH] test(ui): Increase flamegraph test timeout seems to flake sometimes https://github.com/getsentry/sentry/actions/runs/11074188518/job/30772445372#step:6:4631 --- .../app/components/profiling/flamegraph/flamegraph.spec.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/app/components/profiling/flamegraph/flamegraph.spec.tsx b/static/app/components/profiling/flamegraph/flamegraph.spec.tsx index 4fefaa85b409a0..e47d2700716ef6 100644 --- a/static/app/components/profiling/flamegraph/flamegraph.spec.tsx +++ b/static/app/components/profiling/flamegraph/flamegraph.spec.tsx @@ -165,7 +165,9 @@ describe('Flamegraph', function () { {organization: initializeOrg().organization} ); - const frames = await findAllByTestId(document.body, 'flamegraph-frame'); + const frames = await findAllByTestId(document.body, 'flamegraph-frame', undefined, { + timeout: 5000, + }); // 1 for main view and 1 for minimap expect(frames.length).toBe(2);