Skip to content

Commit

Permalink
fix: set static IDs for dogfood tests and transactions (#2578)
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren authored May 24, 2023
1 parent c7dfad9 commit a4ee770
Show file tree
Hide file tree
Showing 29 changed files with 63 additions and 42 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: oCzNeDQVRI
name: Create Environment
description: Test step of 'Environment Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: TCkN6vwVRN
name: List Environment
description: Test step of 'Environment Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
type: Test
spec:
id: ojzN6vwVRv
name: Delete Environment
description: Test step of 'Environment Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Transaction
spec:
id: oCkH6vQ4gV
name: Environment Feature
description: Sequence of tests to validate if our Environment feature is working as expected
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: ojzHeDQ4gF
name: Create gRPC Test
description: Test step of 'gRPC Test Feature - Test Suite'
trigger:
Expand All @@ -22,16 +23,14 @@ spec:
"request": "{\"id\": 52}"
}
},
"specs": {
"specs": [
{
"selector": {
"query": "span[name = \"queue.synchronizePokemon send\"]"
},
"assertions": ["attr:tracetest.selected_spans.count > 0"]
}
]
}
"specs": [
{
"selectorParsed": {
"query": "span[name = \"queue.synchronizePokemon send\"]"
},
"assertions": ["attr:tracetest.selected_spans.count > 0"]
}
]
}
specs:
- selector: span[name = "Tracetest trigger"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: ojzHeDQ4Rc
name: List gRPC Test
description: Test step of 'gRPC Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: oCzH6DQVRp
name: Run gRPC Test
description: Test step of 'gRPC Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
type: Test
spec:
id: ojzNeDw4gh
name: Delete gRPC Test
description: Test step of 'gRPC Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: oCzH6vw4go
name: Create gRPC Test with invalid metadata
description: Test step of 'gRPC Test Feature - Test Suite'
trigger:
Expand All @@ -23,16 +24,14 @@ spec:
"metadata": [{}]
}
},
"specs": {
"specs": [
{
"selector": {
"query": "span[name = \"queue.synchronizePokemon send\"]"
},
"assertions": ["attr:tracetest.selected_spans.count > 0"]
}
]
}
"specs": [
{
"selectorParsed": {
"query": "span[name = \"queue.synchronizePokemon send\"]"
},
"assertions": ["attr:tracetest.selected_spans.count > 0"]
}
]
}
specs:
- selector: span[name = "Tracetest trigger"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: TCzN6DQ4g0
name: Run gRPC Test with invalid metadata
description: ""
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Transaction
spec:
id: ojkNeDwVgO
name: gRPC Test Feature
description: Sequence of tests to validate if our gRPC Test feature is working as expected
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: ojzN6DwVRx
name: Delete HTTP Test with non-existing ID
description: Test step of 'HTTP Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: oCkHevQ4R-
name: Create HTTP Test with non-existing ID
description: Test step of 'HTTP Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: TCkHeDwVRf
name: Delete HTTP Test with existing ID
description: Test step of 'HTTP Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: TCzHeDw4gY
name: Create HTTP Test
description: Test step of 'HTTP Test Feature - Test Suite'
trigger:
Expand All @@ -26,20 +27,18 @@ spec:
]
}
},
"specs": {
"specs": [
{
"selector": {
"query": "span[name = \"pg.query:SELECT pokeshop\"]"
},
"assertions": ["attr:tracetest.selected_spans.count > 0"]
}
]
},
"specs": [
{
"selectorParsed": {
"query": "span[name = \"pg.query:SELECT pokeshop\"]"
},
"assertions": ["attr:tracetest.selected_spans.count > 0"]
}
],
"outputs": [
{
"name": "TRIGGER_COUNT",
"selector": {
"selectorParsed": {
"query": "span[name = \"Tracetest trigger\"]"
},
"value": "attr:tracetest.selected_spans.count"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: oCkHevwVgP
name: List HTTP Test
description: Test step of 'HTTP Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: TjkNevQ4Rs
name: Run HTTP Test
description: Test step of 'HTTP Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: oCzHevQVR8
name: Re-Run HTTP Test
description: Test step of 'HTTP Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: TCzH6vQ4RQ
name: Delete HTTP Test Run
description: Test step of 'HTTP Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: TCkHevQVR_
name: Delete HTTP Test
description: Test step of 'HTTP Test Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Transaction
spec:
id: TjkHeDQVg1
name: HTTP Test Feature
description: Sequence of tests to validate if our HTTP Test feature is working as expected
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Transaction
spec:
id: ILYjqDQ4g
name: Transaction Feature
description: Sequence of tests to validate if our Transaction feature is working as expected
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
type: Test
spec:
id: TCzH6vw4R
name: Create transaction
description: Test step of 'Transaction Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: Test
spec:
id: hCzNevwVg
name: Create transaction step
description: Test step of 'Transaction Feature - Test Suite'
trigger:
Expand All @@ -26,20 +27,18 @@ spec:
]
}
},
"specs": {
"specs": [
{
"selector": {
"query": "span[name = \"pg.query:SELECT pokeshop\"]"
},
"assertions": ["attr:tracetest.selected_spans.count > 0"]
}
]
},
"specs": [
{
"selectorParsed": {
"query": "span[name = \"pg.query:SELECT pokeshop\"]"
},
"assertions": ["attr:tracetest.selected_spans.count > 0"]
}
],
"outputs": [
{
"name": "TRIGGER_COUNT",
"selector": {
"selectorParsed": {
"query": "span[name = \"Tracetest trigger\"]"
},
"value": "attr:tracetest.selected_spans.count"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
type: Test
spec:
id: TjkHeDw4gm
name: Delete Transaction
description: Test step of 'Transaction Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
type: Test
spec:
id: TCzNeDwVgz
name: Delete Transaction Step
description: Test step of 'Transaction Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
type: Test
spec:
id: TjkNeDwVgM
name: List Transaction
description: Test step of 'Transaction Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
type: Test
spec:
id: TjkNeDwVRZ
name: List Transaction as Resource
description: Test step of 'Transaction Feature - Test Suite'
trigger:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
type: Test
spec:
id: TjkNeDQ4R7
name: Update transaction
description: Test step of 'Transaction Feature - Test Suite'
trigger:
Expand Down

0 comments on commit a4ee770

Please sign in to comment.