Skip to content

Commit 3727f46

Browse files
committed
nevermind
1 parent e63d9b2 commit 3727f46

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

dev-packages/e2e-tests/test-applications/nextjs-turbo/tests/app-router/route-handlers.test.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -56,28 +56,6 @@ test('Should record exceptions and transactions for faulty route handlers', asyn
5656

5757
await request.get('/route-handlers/boop/error').catch(() => {});
5858

59-
// Expect this to timeout due to upstream Next.js issue https://github.com/vercel/next.js/issues/82612
60-
// When the issue is fixed, this test should fail (because it won't timeout anymore)
61-
const timeoutDuration = 25000; // Less than the 30s test timeout
62-
63-
try {
64-
await Promise.race([
65-
Promise.all([routehandlerTransactionPromise, errorEventPromise]),
66-
new Promise((_, reject) =>
67-
setTimeout(() => reject(new Error('Expected timeout - upstream issue still exists')), timeoutDuration),
68-
),
69-
]);
70-
71-
// If we get here, the upstream issue has been fixed
72-
throw new Error('Test should have timed out - upstream issue may be fixed.');
73-
} catch (error) {
74-
// Expected timeout - test passes
75-
if (error instanceof Error && error.message.includes('Expected timeout')) {
76-
return;
77-
}
78-
throw error;
79-
}
80-
8159
const routehandlerTransaction = await routehandlerTransactionPromise;
8260
const routehandlerError = await errorEventPromise;
8361

0 commit comments

Comments
 (0)