Skip to content

Commit be218bd

Browse files
committed
Skip op critical path benchmark test on FRS (all R11s actually)
1 parent 616f970 commit be218bd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/test/test-end-to-end-tests/src/test/benchmark/opCriticalPath.time.spec.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ describeCompat(
5959

6060
let testId = 0;
6161

62+
beforeEach("conditionalSkip", async function () {
63+
if (provider.driver.type === "r11s" || provider.driver.type === "routerlicious") {
64+
this.skip(); // This test is not reliable with FRS for some reason
65+
}
66+
});
67+
6268
const setup = async () => {
6369
testId++;
6470
provider = getTestObjectProvider();
@@ -93,7 +99,8 @@ describeCompat(
9399
before: async () => {
94100
await setup();
95101
},
96-
benchmarkFnAsync: async () => {
102+
// eslint-disable-next-line object-shorthand
103+
benchmarkFnAsync: async function () {
97104
sendOps("A");
98105
// There's no event fired for "flush" so the simplest thing is to wait for the outbound queue to be idle.
99106
// This should not add much time, and is part of the real flow so it's ok to include it in the benchmark.

0 commit comments

Comments
 (0)