Skip to content

Commit

Permalink
Fixing details found by yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbdias committed Jun 5, 2023
1 parent fcf91f8 commit 323b219
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,4 @@ spec:
- name: It returned an empty cart
selector: span[tracetest.span.type="general" name="Tracetest trigger"]
assertions:
- "attr:tracetest.response.body = '{\n \n}'"
- "attr:tracetest.response.body = '{\n \n}'"
1 change: 0 additions & 1 deletion test/tracetesting/tech-based-tests/cart-service/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ spec:
- ./check-if-cart-is-populated.yaml
- ./empty-cart.yaml
- ./check-if-cart-is-empty.yaml

Original file line number Diff line number Diff line change
Expand Up @@ -343,4 +343,4 @@ spec:
- name: It returned no items
selector: span[tracetest.span.type="general" name="Tracetest trigger"]
assertions:
- attr:tracetest.response.body | json_path '$.items' = "[]"
- attr:tracetest.response.body | json_path '$.items' = "[]"
Original file line number Diff line number Diff line change
Expand Up @@ -344,4 +344,4 @@ spec:
selector: span[tracetest.span.type="general" name="Tracetest trigger"]
assertions:
- attr:tracetest.response.body | json_path '$.items[0].quantity' = 1
- attr:tracetest.response.body | json_path '$.items[0].productId' = "OLJCESPC7Z"
- attr:tracetest.response.body | json_path '$.items[0].productId' = "OLJCESPC7Z"
Original file line number Diff line number Diff line change
Expand Up @@ -344,4 +344,4 @@ spec:
selector: span[tracetest.span.type="database" name="EXPIRE" db.system="redis"
db.redis.database_index="0"]
assertions:
- attr:db.statement = "EXPIRE 1234"
- attr:db.statement = "EXPIRE 1234"
Original file line number Diff line number Diff line change
Expand Up @@ -362,4 +362,4 @@ spec:
selector: span[tracetest.span.type="rpc" name="oteldemo.CheckoutService/PlaceOrder"
rpc.system="grpc" rpc.method="PlaceOrder" rpc.service="oteldemo.CheckoutService"]
assertions:
- attr:rpc.grpc.status_code = 0
- attr:rpc.grpc.status_code = 0
Original file line number Diff line number Diff line change
Expand Up @@ -352,4 +352,4 @@ spec:
assertions:
- attr:tracetest.response.body | json_path '$.costUsd.currencyCode' = "USD"
- attr:tracetest.response.body | json_path '$.costUsd.units' = 0
- attr:tracetest.response.body | json_path '$.costUsd.nanos' = 0
- attr:tracetest.response.body | json_path '$.costUsd.nanos' = 0
Original file line number Diff line number Diff line change
Expand Up @@ -355,4 +355,4 @@ spec:
- name: It returned a trackingId
selector: span[tracetest.span.type="general" name="Tracetest trigger"]
assertions:
- attr:tracetest.response.body | json_path '$.trackingId' != ""
- attr:tracetest.response.body | json_path '$.trackingId' != ""
Original file line number Diff line number Diff line change
Expand Up @@ -357,4 +357,4 @@ spec:
assertions:
- attr:tracetest.response.body | json_path '$.costUsd.currencyCode' = "USD"
- attr:tracetest.response.body | json_path '$.costUsd.units' = 17
- attr:tracetest.response.body | json_path '$.costUsd.nanos' = 800000000
- attr:tracetest.response.body | json_path '$.costUsd.nanos' = 800000000

0 comments on commit 323b219

Please sign in to comment.