Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -93,7 +100,8 @@ describeCompat(
before: async () => {
await setup();
},
benchmarkFnAsync: async () => {
// eslint-disable-next-line object-shorthand
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason for this change? Seems unnecessary.

Copy link
Member Author

Choose a reason for hiding this comment

The 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.
Expand Down
Loading