Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-pytel committed Nov 12, 2022
1 parent 5168fb1 commit ac67ae7
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions tests/plugins/axios/expected.data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ segmentItems:
value: '200'
- key: http.status.msg
value: OK
- operationName: GET:/axios
- operationName: [GET]/axios
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down Expand Up @@ -97,7 +97,7 @@ segmentItems:
spanType: Exit
peer: server:5000
skipAnalysis: false
- operationName: GET:/axios
- operationName: [GET]/axios
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/express/expected.data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- operationName: GET:/express
- operationName: [GET]/express
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down Expand Up @@ -77,7 +77,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- operationName: GET:/test/express
- operationName: [GET]/test/express
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/http/expected.data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- operationName: GET:/test
- operationName: [GET]/test
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down Expand Up @@ -77,7 +77,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- operationName: GET:/test
- operationName: [GET]/test
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/ioredis/expected.data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ segmentItems:
tags:
- { key: db.type, value: Redis }
- { key: db.instance, value: "0" }
- operationName: GET:/ioredis
- operationName: [GET]/ioredis
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down Expand Up @@ -96,7 +96,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- operationName: GET:/ioredis
- operationName: [GET]/ioredis
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/mongodb/expected.data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ segmentItems:
- { key: db.type, value: MongoDB }
- { key: db.instance, value: admin }
- { key: db.statement, value: docs.findOne() }
- operationName: GET:/mongo
- operationName: [GET]/mongo
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down Expand Up @@ -82,7 +82,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- operationName: GET:/mongo
- operationName: [GET]/mongo
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/mongoose/expected.data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ segmentItems:
- { key: db.type, value: MongoDB }
- { key: db.instance, value: admin }
- { key: db.statement, value: 'tests.find({})' }
- operationName: GET:/mongoose
- operationName: [GET]/mongoose
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down Expand Up @@ -96,7 +96,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- operationName: GET:/mongoose
- operationName: [GET]/mongoose
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/mysql/expected.data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ segmentItems:
value: test
- key: db.statement
value: SELECT * FROM `user` WHERE `name` = "u1"
- operationName: GET:/mysql
- operationName: [GET]/mysql
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down Expand Up @@ -75,7 +75,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- operationName: GET:/mysql
- operationName: [GET]/mysql
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/mysql2/expected.data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ segmentItems:
value: test
- key: db.statement
value: SELECT * FROM `user` WHERE `name` = "u1"
- operationName: GET:/mysql
- operationName: [GET]/mysql
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down Expand Up @@ -75,7 +75,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- operationName: GET:/mysql
- operationName: [GET]/mysql
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/pg/expected.data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ segmentItems:
- { key: db.type, value: PostgreSQL }
- { key: db.instance, value: test }
- { key: db.statement, value: SELECT * FROM "user" where name = 'u1' }
- operationName: GET:/postgres
- operationName: [GET]/postgres
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down Expand Up @@ -67,7 +67,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- operationName: GET:/postgres
- operationName: [GET]/postgres
operationId: 0
parentSpanId: -1
spanId: 0
Expand Down

0 comments on commit ac67ae7

Please sign in to comment.