@@ -68,9 +68,9 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
6868 'http.user_agent' : 'axios/1.6.7' ,
6969 'http.flavor' : '1.1' ,
7070 'net.transport' : 'ip_tcp' ,
71- 'net.host.ip' : '127.0.0.1' ,
71+ 'net.host.ip' : expect . any ( String ) ,
7272 'net.host.port' : expect . any ( Number ) ,
73- 'net.peer.ip' : '127.0.0.1' ,
73+ 'net.peer.ip' : expect . any ( String ) ,
7474 'net.peer.port' : expect . any ( Number ) ,
7575 'http.status_code' : 200 ,
7676 'http.status_text' : 'OK' ,
@@ -103,9 +103,9 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
103103 'http.target' : '/test-inbound-headers' ,
104104 'http.flavor' : '1.1' ,
105105 'net.transport' : 'ip_tcp' ,
106- 'net.host.ip' : '127.0.0.1' ,
106+ 'net.host.ip' : expect . any ( String ) ,
107107 'net.host.port' : expect . any ( Number ) ,
108- 'net.peer.ip' : '127.0.0.1' ,
108+ 'net.peer.ip' : expect . any ( String ) ,
109109 'net.peer.port' : expect . any ( Number ) ,
110110 'http.status_code' : 200 ,
111111 'http.status_text' : 'OK' ,
@@ -184,13 +184,13 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
184184 'net.host.name' : 'localhost' ,
185185 'http.method' : 'GET' ,
186186 'http.scheme' : 'http' ,
187- 'http.target' : '/test-outgoing-http ' ,
187+ 'http.target' : '/test-outgoing-fetch ' ,
188188 'http.user_agent' : 'axios/1.6.7' ,
189189 'http.flavor' : '1.1' ,
190190 'net.transport' : 'ip_tcp' ,
191- 'net.host.ip' : '127.0.0.1' ,
191+ 'net.host.ip' : expect . any ( String ) ,
192192 'net.host.port' : expect . any ( Number ) ,
193- 'net.peer.ip' : '127.0.0.1' ,
193+ 'net.peer.ip' : expect . any ( String ) ,
194194 'net.peer.port' : expect . any ( Number ) ,
195195 'http.status_code' : 200 ,
196196 'http.status_text' : 'OK' ,
@@ -223,9 +223,9 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
223223 'http.target' : '/test-inbound-headers' ,
224224 'http.flavor' : '1.1' ,
225225 'net.transport' : 'ip_tcp' ,
226- 'net.host.ip' : '127.0.0.1' ,
226+ 'net.host.ip' : expect . any ( String ) ,
227227 'net.host.port' : expect . any ( Number ) ,
228- 'net.peer.ip' : '127.0.0.1' ,
228+ 'net.peer.ip' : expect . any ( String ) ,
229229 'net.peer.port' : expect . any ( Number ) ,
230230 'http.status_code' : 200 ,
231231 'http.status_text' : 'OK' ,
0 commit comments