File tree 10 files changed +6
-3425
lines changed
10 files changed +6
-3425
lines changed Original file line number Diff line number Diff line change @@ -115,10 +115,6 @@ jobs:
115
115
tag_suffix : frontend-tests
116
116
context : ./
117
117
setup-qemu : true
118
- - file : ./test/Dockerfile
119
- tag_suffix : integrationTests
120
- context : ./
121
- setup-qemu : true
122
118
123
119
steps :
124
120
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ the release.
13
13
([ #1397 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/1397 ) )
14
14
* [ chore] add nightly releases
15
15
([ #1398 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/1398 ) )
16
+ * [ chore] remove unused integration test
17
+ ([ #1406 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/1406 ) )
16
18
17
19
## 1.8.0
18
20
Original file line number Diff line number Diff line change @@ -98,8 +98,6 @@ build-env-file:
98
98
.PHONY : run-tests
99
99
run-tests :
100
100
docker compose run frontendTests
101
- # integrationTests is deprecated in favor of traceBasedTests
102
- # docker compose run integrationTests
103
101
docker compose run traceBasedTests
104
102
105
103
.PHONY : run-tracetesting
Original file line number Diff line number Diff line change @@ -750,37 +750,6 @@ services:
750
750
depends_on :
751
751
- frontend
752
752
753
- # Integration Tests
754
- integrationTests :
755
- image : ${IMAGE_NAME}:${DEMO_VERSION}-integrationTests
756
- container_name : integrationTests
757
- profiles :
758
- - tests
759
- build :
760
- context : ./
761
- dockerfile : ./test/Dockerfile
762
- environment :
763
- - AD_SERVICE_ADDR
764
- - CART_SERVICE_ADDR
765
- - CHECKOUT_SERVICE_ADDR
766
- - CURRENCY_SERVICE_ADDR
767
- - EMAIL_SERVICE_ADDR
768
- - PAYMENT_SERVICE_ADDR
769
- - PRODUCT_CATALOG_SERVICE_ADDR
770
- - RECOMMENDATION_SERVICE_ADDR
771
- - SHIPPING_SERVICE_ADDR
772
- depends_on :
773
- - adservice
774
- - cartservice
775
- - checkoutservice
776
- - currencyservice
777
- - emailservice
778
- - paymentservice
779
- - productcatalogservice
780
- - recommendationservice
781
- - shippingservice
782
- - quoteservice
783
-
784
753
# Tracebased Tests
785
754
traceBasedTests :
786
755
image : ${IMAGE_NAME}:${DEMO_VERSION}-traceBasedTests
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Service Testing
2
2
3
- There are two ways to test the service APIs in the OpenTelemetry Demo:
3
+ The OpenTelemetry Demo uses traced-based testing to validate the
4
+ functionality of the services and the traces they generate.
4
5
5
- 1 . Using black box-testing, calling gRPC services
6
- and validating their direct response
7
- 2 . Using Trace-based tests, calling both HTTP and
8
- gRPC services and validating their direct response as well as
9
- the distributed traces they generate
10
-
11
- ## Testing gRPC services as black boxes
12
-
13
- To run the entire test suite as a black box, run the command:
14
-
15
- ``` sh
16
- docker compose run integrationTests
17
- ```
18
-
19
- If you want to run tests for a specific service, run:
20
-
21
- 1 . Start the services you want to test with ` docker compose up --build <service> `
22
- 2 . Run ` npm install `
23
- 3 . Run ` npm test ` or ` npx ava --match='<pattern>' ` to match test names
6
+ The trace-based tests will each service and validate the traces they
7
+ generate and stored in Jaeger, to a known working trace for the same operation.
24
8
25
9
## Testing services with Trace-based tests
26
10
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments