File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
test/e2e/opentelemetry/instrumentation Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const EXTERNAL = {
12
12
const COLLECTOR_PORT = 9001
13
13
14
14
describe ( 'opentelemetry' , ( ) => {
15
- const { next, skipped } = nextTestSetup ( {
15
+ const { next, skipped, isNextDev } = nextTestSetup ( {
16
16
files : __dirname ,
17
17
skipDeployment : true ,
18
18
dependencies : require ( './package.json' ) . dependencies ,
@@ -168,7 +168,11 @@ describe('opentelemetry', () => {
168
168
} ,
169
169
{
170
170
attributes : {
171
- 'next.clientComponentLoadCount' : 6 ,
171
+ 'next.clientComponentLoadCount' : isNextDev
172
+ ? // In dev, additional client components are being loaded
173
+ // due to RSC props being deserialized.
174
+ 9
175
+ : 6 ,
172
176
'next.span_type' :
173
177
'NextNodeServer.clientComponentLoading' ,
174
178
} ,
You can’t perform that action at this time.
0 commit comments