Skip to content

Commit

Permalink
Make tests work.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmassot committed Dec 10, 2023
1 parent 18b8e1f commit b9a3380
Show file tree
Hide file tree
Showing 6 changed files with 262 additions and 105 deletions.
2 changes: 2 additions & 0 deletions quickwit/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions quickwit/quickwit-serve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ documentation = "https://quickwit.io/docs/"
[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
base64 = { workspace = true }
bytes = { workspace = true }
bytesize = { workspace = true }
elasticsearch-dsl = "0.4.15"
futures = { workspace = true }
futures-util = { workspace = true }
go-parse-duration = "0.1.1"
hex = { workspace = true }
humantime = { workspace = true }
http-serde = { workspace = true }
hyper = { workspace = true }
Expand Down
16 changes: 11 additions & 5 deletions quickwit/quickwit-serve/resources/tests/jaeger_ui_trace.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"spans": [
{
"traceID": "0000000000000001",
"spanID": "0000000000000002",
"spanID": "0000000000000001",
"operationName": "test-general-conversion",
"references": [],
"startTime": 1485467191639875,
"duration": 5,
"flags": 0,
"tags": [],
"logs": [
{
Expand All @@ -32,13 +33,14 @@
}
],
"processID": "p1",
"warnings": null
"warnings": []
},
{
"traceID": "0000000000000001",
"spanID": "0000000000000002",
"operationName": "some-operation",
"references": [],
"flags": 0,
"startTime": 1485467191639875,
"duration": 5,
"tags": [
Expand Down Expand Up @@ -75,12 +77,13 @@
],
"logs": [],
"processID": "p1",
"warnings": null
"warnings": []
},
{
"traceID": "0000000000000001",
"spanID": "0000000000000003",
"operationName": "some-operation",
"flags": 0,
"references": [
{
"refType": "CHILD_OF",
Expand All @@ -93,12 +96,13 @@
"tags": [],
"logs": [],
"processID": "p2",
"warnings": null
"warnings": []
},
{
"traceID": "0000000000000001",
"spanID": "0000000000000004",
"operationName": "reference-test",
"flags": 0,
"references": [
{
"refType": "CHILD_OF",
Expand Down Expand Up @@ -129,6 +133,7 @@
"traceID": "0000000000000001",
"spanID": "0000000000000005",
"operationName": "preserveParentID-test",
"flags": 0,
"references": [
{
"refType": "CHILD_OF",
Expand All @@ -149,14 +154,15 @@
"processes": {
"p1": {
"serviceName": "service-x",
"key": "p1",
"tags": []
},
"p2": {
"serviceName": "service-y",
"key": "p2",
"tags": []
}
},
"warnings": [
"some trace warning"
]
}
Loading

0 comments on commit b9a3380

Please sign in to comment.