Skip to content

Commit 865e1ad

Browse files
committed
Fix CI ember flaky test
1 parent 7246a22 commit 865e1ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

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

31-
// FIXME: For some reason, the last `destroy` run queue event is not always called.
31+
// FIXME: For some reason, the last `afterRender` and `destroy` run queue event are not always called.
3232
// This is not a blocker, but should be investigated and fixed, as this is the expected output.
33+
if (event.spans[event.spans.length - 1] !== 'ember.runloop.afterRender | undefined') {
34+
event.spans.push('ember.runloop.afterRender | undefined');
35+
}
3336
if (event.spans[event.spans.length - 1] !== 'ember.runloop.destroy | undefined') {
3437
event.spans.push('ember.runloop.destroy | undefined');
3538
}

0 commit comments

Comments
 (0)