Skip to content

Commit

Permalink
Fixtures should use internal model and not domain model for compariso…
Browse files Browse the repository at this point in the history
…n purposes in the integration-tests

Signed-off-by: Michael Burman <[email protected]>
  • Loading branch information
Michael Burman committed May 3, 2018
1 parent c7891a4 commit 095a247
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 101 deletions.
5 changes: 1 addition & 4 deletions plugin/storage/integration/fixtures/traces/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "11",
"spanID": "3",
"operationName": "",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 100000,
"tags": [],
"process": {
"serviceName": "query11-service",
"tags": []
"serviceName": "query11-service"
},
"logs": [
{
Expand Down
5 changes: 1 addition & 4 deletions plugin/storage/integration/fixtures/traces/dur_trace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "9",
"spanID": "3",
"operationName": "placeholder",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [],
"process": {
"serviceName": "query09-service",
"tags": []
"serviceName": "query09-service"
},
"logs": [
{
Expand Down
25 changes: 5 additions & 20 deletions plugin/storage/integration/fixtures/traces/example_trace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "11",
"spanID": "3",
"operationName": "example-operation-1",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 100000,
"tags": [],
"process": {
"serviceName": "example-service-1",
"tags": []
"serviceName": "example-service-1"
},
"logs": [
{
Expand All @@ -27,13 +24,10 @@
"traceID": "11",
"spanID": "4",
"operationName": "example-operation-2",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 100000,
"tags": [],
"process": {
"serviceName": "example-service-2",
"tags": []
"serviceName": "example-service-2"
},
"logs": [
{
Expand All @@ -50,13 +44,10 @@
"traceID": "11",
"spanID": "5",
"operationName": "example-operation-1",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 100000,
"tags": [],
"process": {
"serviceName": "example-service-3",
"tags": []
"serviceName": "example-service-3"
},
"logs": [
{
Expand All @@ -73,13 +64,10 @@
"traceID": "11",
"spanID": "6",
"operationName": "example-operation-3",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 100000,
"tags": [],
"process": {
"serviceName": "example-service-1",
"tags": []
"serviceName": "example-service-1"
},
"logs": [
{
Expand All @@ -96,13 +84,10 @@
"traceID": "11",
"spanID": "7",
"operationName": "example-operation-4",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 100000,
"tags": [],
"process": {
"serviceName": "example-service-1",
"tags": []
"serviceName": "example-service-1"
},
"logs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "2",
"spanID": "1",
"operationName": "placeholder",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [],
"process": {
"serviceName": "query02-service",
"tags": []
"serviceName": "query02-service"
},
"logs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "10",
"spanID": "2",
"operationName": "placeholder",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 1000,
"tags": [],
"process": {
"serviceName": "query10-service",
"tags": []
"serviceName": "query10-service"
},
"logs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "5",
"spanID": "1",
"operationName": "operation-list-test2",
"references": [],
"startTime": "2017-01-26T00:03:31.639875Z",
"duration": 5000,
"tags": [],
"process": {
"serviceName": "query05-service",
"tags": []
"serviceName": "query05-service"
},
"logs": [
{
Expand All @@ -27,13 +24,10 @@
"traceID": "5",
"spanID": "2",
"operationName": "operation-list-test3",
"references": [],
"startTime": "2017-01-25T23:56:31.639875Z",
"duration": 5000,
"tags": [],
"process": {
"serviceName": "query05-service",
"tags": []
"serviceName": "query05-service"
},
"logs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"traceID": "4",
"spanID": "1",
"operationName": "placeholder",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "221",
"spanID": "3",
"operationName": "",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 100000,
"tags": [],
"process": {
"serviceName": "query22-service",
"tags": []
"serviceName": "query22-service"
},
"logs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "222",
"spanID": "3",
"operationName": "",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 100000,
"tags": [],
"process": {
"serviceName": "query22-service",
"tags": []
"serviceName": "query22-service"
},
"logs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "223",
"spanID": "3",
"operationName": "",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 100000,
"tags": [],
"process": {
"serviceName": "query22-service",
"tags": []
"serviceName": "query22-service"
},
"logs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"traceID": "20",
"spanID": "3",
"operationName": "placeholder",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"traceID": "21",
"spanID": "5",
"operationName": "placeholder",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 1000,
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"traceID": "19",
"spanID": "5",
"operationName": "query19-operation",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"traceID": "18",
"spanID": "4",
"operationName": "query18-operation",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 1000,
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"traceID": "17",
"spanID": "4",
"operationName": "query17-operation",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "8",
"spanID": "2",
"operationName": "query08-operation",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [],
"process": {
"serviceName": "query08-service",
"tags": []
"serviceName": "query08-service"
},
"logs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,20 @@
"spanID": "3",
"parentSpanID": "2",
"operationName": "query07-operation",
"tags": [],
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 1000,
"process": {
"serviceName": "query07-service",
"tags": []
},
"logs": []
"serviceName": "query07-service"
}
},
{
"traceID": "7",
"spanID": "2",
"operationName": "query07-operation",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 2000,
"tags": [],
"process": {
"serviceName": "query07-service",
"tags": []
"serviceName": "query07-service"
},
"logs": [
{
Expand Down
5 changes: 1 addition & 4 deletions plugin/storage/integration/fixtures/traces/opname_trace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "6",
"spanID": "1",
"operationName": "query06-operation",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [],
"process": {
"serviceName": "query06-service",
"tags": []
"serviceName": "query06-service"
},
"logs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
"traceID": "3",
"spanID": "1",
"operationName": "placeholder",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [],
"process": {
"serviceName": "query03-service",
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"traceID": "1",
"spanID": "2",
"operationName": "some-operation",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 7000,
"tags": [
Expand Down Expand Up @@ -35,10 +34,8 @@
}
],
"process": {
"serviceName": "query01-service",
"tags": []
},
"logs": []
"serviceName": "query01-service"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"traceID": "15",
"spanID": "4",
"operationName": "placeholder",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [
Expand Down Expand Up @@ -35,8 +34,7 @@
}
],
"process": {
"serviceName": "query15-service",
"tags": []
"serviceName": "query15-service"
},
"logs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
"traceID": "16",
"spanID": "5",
"operationName": "",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 1000,
"tags": [],
"process": {
"serviceName": "query16-service",
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"traceID": "14",
"spanID": "3",
"operationName": "query14-operation",
"references": [],
"startTime": "2017-01-26T16:46:31.639875Z",
"duration": 5000,
"tags": [],
"process": {
"serviceName": "query14-service",
"tags": []
"serviceName": "query14-service"
},
"logs": [
{
Expand Down
Loading

0 comments on commit 095a247

Please sign in to comment.