mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
Trace View: Removed part of flaky test (#64445)
Removed part of flaky test on Trace View
This commit is contained in:
parent
5a4ebe3a67
commit
4625958aea
@ -77,16 +77,7 @@ describe('<VirtualizedTraceViewImpl>', () => {
|
||||
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', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user