Skip to content

Commit

Permalink
Switch unknown to real values
Browse files Browse the repository at this point in the history
  • Loading branch information
k-fish committed Jul 14, 2023
1 parent f99dc65 commit 138da56
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions packages/tracing-internal/test/browser/request.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,33 +408,33 @@ describe('HTTPTimings', () => {
'spdy/1': { name: 'spdy', version: '1' },
'spdy/2': { name: 'spdy', version: '2' },
'spdy/3': { name: 'spdy', version: '3' },
'stun.turn': { name: 'stun.turn', version: 'none' },
'stun.nat-discovery': { name: 'stun.nat-discovery', version: 'none' },
'stun.turn': { name: 'stun.turn', version: 'unknown' },
'stun.nat-discovery': { name: 'stun.nat-discovery', version: 'unknown' },
h2: { name: 'http', version: '2' },
h2c: { name: 'http', version: '2c' },
webrtc: { name: 'webrtc', version: 'none' },
'c-webrtc': { name: 'c-webrtc', version: 'none' },
ftp: { name: 'ftp', version: 'none' },
imap: { name: 'imap', version: 'none' },
webrtc: { name: 'webrtc', version: 'unknown' },
'c-webrtc': { name: 'c-webrtc', version: 'unknown' },
ftp: { name: 'ftp', version: 'unknown' },
imap: { name: 'imap', version: 'unknown' },
pop3: { name: 'pop', version: '3' },
managesieve: { name: 'managesieve', version: 'none' },
coap: { name: 'coap', version: 'none' },
'xmpp-client': { name: 'xmpp-client', version: 'none' },
'xmpp-server': { name: 'xmpp-server', version: 'none' },
managesieve: { name: 'managesieve', version: 'unknown' },
coap: { name: 'coap', version: 'unknown' },
'xmpp-client': { name: 'xmpp-client', version: 'unknown' },
'xmpp-server': { name: 'xmpp-server', version: 'unknown' },
'acme-tls/1': { name: 'acme-tls', version: '1' },
mqtt: { name: 'mqtt', version: 'none' },
dot: { name: 'dot', version: 'none' },
mqtt: { name: 'mqtt', version: 'unknown' },
dot: { name: 'dot', version: 'unknown' },
'ntske/1': { name: 'ntske', version: '1' },
sunrpc: { name: 'sunrpc', version: 'none' },
sunrpc: { name: 'sunrpc', version: 'unknown' },
h3: { name: 'http', version: '3' },
smb: { name: 'smb', version: 'none' },
irc: { name: 'irc', version: 'none' },
nntp: { name: 'nntp', version: 'none' },
nnsp: { name: 'nnsp', version: 'none' },
doq: { name: 'doq', version: 'none' },
smb: { name: 'smb', version: 'unknown' },
irc: { name: 'irc', version: 'unknown' },
nntp: { name: 'nntp', version: 'unknown' },
nnsp: { name: 'nnsp', version: 'unknown' },
doq: { name: 'doq', version: 'unknown' },
'sip/2': { name: 'sip', version: '2' },
'tds/8.0': { name: 'tds', version: '8.0' },
dicom: { name: 'dicom', version: 'none' },
dicom: { name: 'dicom', version: 'unknown' },
};

const protocols = Object.keys(nextHopToNetworkVersion);
Expand Down

0 comments on commit 138da56

Please sign in to comment.