Skip to content

Commit ed24288

Browse files
author
Luca Forstner
committed
buffer size increase?
1 parent 1fea375 commit ed24288

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

dev-packages/e2e-tests/test-applications/nextjs-14/instrumentation.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export function register() {
88
tunnel: `http://localhost:3031/`, // proxy server
99
tracesSampleRate: 1.0,
1010
sendDefaultPii: true,
11+
transportOptions: {
12+
bufferSize: 1000,
13+
},
1114
});
1215
}
1316
}

dev-packages/e2e-tests/test-applications/nextjs-app-dir/instrumentation.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export function register() {
88
tunnel: `http://localhost:3031/`, // proxy server
99
tracesSampleRate: 1.0,
1010
sendDefaultPii: true,
11+
transportOptions: {
12+
bufferSize: 1000,
13+
},
1114
});
1215
}
1316
}

dev-packages/e2e-tests/test-applications/nextjs-app-dir/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ const config: PlaywrightTestConfig = {
3131
timeout: 10000,
3232
},
3333
/* Defaults to half the number of CPUs. The tests are not really CPU-bound but rather I/O-bound with all the polling we do so we increase the concurrency to the CPU count. */
34-
workers: 1,
34+
workers: os.cpus().length,
3535
/* Run tests in files in parallel */
36-
fullyParallel: false,
36+
fullyParallel: true,
3737
/* Fail the build on CI if you accidentally left test.only in the source code. */
3838
forbidOnly: !!process.env.CI,
3939
/* `next dev` is incredibly buggy with the app dir */

0 commit comments

Comments
 (0)