-
Notifications
You must be signed in to change notification settings - Fork 567
Skip op critical path benchmark test on FRS (all R11s actually) #25570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -59,6 +59,13 @@ describeCompat( | |
|
|
||
| let testId = 0; | ||
|
|
||
| beforeEach("check driver compatibility", function () { | ||
| provider = getTestObjectProvider(); | ||
| if (provider.driver.type === "r11s" || provider.driver.type === "routerlicious") { | ||
| this.skip(); // This test is not reliable with FRS for some reason | ||
| } | ||
| }); | ||
|
|
||
| const setup = async () => { | ||
| testId++; | ||
| provider = getTestObjectProvider(); | ||
|
|
@@ -93,7 +100,8 @@ describeCompat( | |
| before: async () => { | ||
| await setup(); | ||
| }, | ||
| benchmarkFnAsync: async () => { | ||
| // eslint-disable-next-line object-shorthand | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any particular reason for this change? Seems unnecessary.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You might be right... but not going to revisit this, I've spent enough time on this change (and a related infra improvement) |
||
| benchmarkFnAsync: async function () { | ||
| sendOps("A"); | ||
| // There's no event fired for "flush" so the simplest thing is to wait for the outbound queue to be idle. | ||
| // This should not add much time, and is part of the real flow so it's ok to include it in the benchmark. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.