Skip to content

Commit 465b675

Browse files
committed
Fix CI ember flaky test
1 parent 7246a22 commit 465b675

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/ember/tests/acceptance/sentry-performance-test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@ function assertSentryCall(assert, callNumber, options) {
2828
return `${s.op} | ${normalizedDescription}`;
2929
});
3030

31+
console.log(event.spans);
32+
3133
// FIXME: For some reason, the last `destroy` run queue event is not always called.
3234
// This is not a blocker, but should be investigated and fixed, as this is the expected output.
35+
if (event.spans[event.spans.length - 1] !== 'ember.runloop.afterRender | undefined') {
36+
event.spans.push('ember.runloop.afterRender | undefined');
37+
}
3338
if (event.spans[event.spans.length - 1] !== 'ember.runloop.destroy | undefined') {
3439
event.spans.push('ember.runloop.destroy | undefined');
3540
}

0 commit comments

Comments
 (0)