mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
[flakiness metric](https://app.datadoghq.com/ci/test/runs?query=test_level%3Atest%20env%3Aci%20%40git.repository.id%3Agithub.com%2Fvercel%2Fnext.js%20%40test.service%3Anextjs%20%40test.status%3Afail%20%40test.name%3A%2Appr-full%2A%20%28-%40git.branch%3A%2A%3F%2A%20OR%20%40git.branch%3Acanary%29&agg_m=count&agg_m_source=base&agg_t=count&citest_explorer_sort=timestamp%2Casc&cols=%40test.status%2Ctimestamp%2C%40test.suite%3A83%2C%40test.name%3A607%2C%40git.branch¤tTab=overview&eventStack=&fromUser=false&graphType=flamegraph&index=citest&start=1737457116609&end=1740049116609&paused=false) This attempts to fix the flakiness of two things in the `ppr-full` test suite (there might be more): - Omit tests that rely on a route shell being cached from deploy tests, similar to #72428. - Increase revalidate times from 60 to 120 to avoid the headers tests from receiving a `STALE` response instead of the expected `HIT` response.
14 lines
351 B
React
14 lines
351 B
React
import React, { Suspense } from 'react'
|
|
import { Dynamic } from '../../../components/dynamic'
|
|
|
|
export const dynamic = 'force-static'
|
|
export const revalidate = 120
|
|
|
|
export default () => {
|
|
return (
|
|
<Suspense fallback={<Dynamic pathname="/dynamic/force-static" fallback />}>
|
|
<Dynamic pathname="/dynamic/force-static" />
|
|
</Suspense>
|
|
)
|
|
}
|