From 4625958aeafb221d58bc55715af3a2e0287108e6 Mon Sep 17 00:00:00 2001 From: Andre Pereira Date: Wed, 8 Mar 2023 17:41:03 +0000 Subject: [PATCH] Trace View: Removed part of flaky test (#64445) Removed part of flaky test on Trace View --- .../TraceTimelineViewer/VirtualizedTraceView.test.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/public/app/features/explore/TraceView/components/TraceTimelineViewer/VirtualizedTraceView.test.tsx b/public/app/features/explore/TraceView/components/TraceTimelineViewer/VirtualizedTraceView.test.tsx index e387616ce86..5d168086483 100644 --- a/public/app/features/explore/TraceView/components/TraceTimelineViewer/VirtualizedTraceView.test.tsx +++ b/public/app/features/explore/TraceView/components/TraceTimelineViewer/VirtualizedTraceView.test.tsx @@ -77,16 +77,7 @@ describe('', () => { durationSpan0 = Math.floor(trace.spans[0].duration / 1000); } - let durationSpan1 = trace.spans[1].duration; - - if (trace.spans[1].duration >= 1_000_000) { - durationSpan1 = Math.floor(trace.spans[1].duration / 1000000); - } else if (trace.spans[1].duration >= 1000) { - durationSpan1 = Math.floor(trace.spans[1].duration / 1000); - } - expect(screen.getAllByText(durationSpan0, { exact: false })).toBeTruthy(); - expect(screen.getAllByText(durationSpan1, { exact: false })).toBeTruthy(); }); it('renders without exploding', () => {