Skip to content

Commit

Permalink
fixing yaml lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbdias committed Jun 26, 2023
1 parent 2bd7c5f commit 6725bbd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion test/tracetesting/frontend-service/01-see-ads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ spec:
selector: span[tracetest.span.type="rpc" name="oteldemo.AdService/GetAds" rpc.system="grpc" rpc.method="GetAds" rpc.service="oteldemo.AdService"]
assertions:
- attr:app.ads.count = 2

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
]
}
specs:
- name: It called the frontend with success
- name: It called the frontend with success
selector: span[tracetest.span.type="general" name="Tracetest trigger"]
assertions:
- attr:tracetest.response.status = 200
Expand Down
1 change: 0 additions & 1 deletion test/tracetesting/frontend-service/03-browse-product.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ spec:
assertions:
- attr:rpc.grpc.status_code = 0
- attr:app.product.id = "0PUK6V6EV0"

5 changes: 3 additions & 2 deletions test/tracetesting/payment-service/valid-credit-card.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ spec:
specs:
- name: It should call Charge method successfully
selector: span[tracetest.span.type="rpc" name="grpc.oteldemo.PaymentService/Charge" rpc.system="grpc" rpc.method="Charge" rpc.service="oteldemo.PaymentService"]
assertions: # instead of returning status_code 0, this service returns 1, but it works as intended
- attr:rpc.grpc.status_code = 1
# instead of returning status_code 0, this service returns 1, but it works as intended
assertions:
- attr:rpc.grpc.status_code = 1
- name: It should return a transaction ID
selector: span[tracetest.span.type="general" name="Tracetest trigger"]
assertions:
Expand Down

0 comments on commit 6725bbd

Please sign in to comment.