Skip to content

Commit

Permalink
Merge pull request #15 from gciavarrini/add-notif-integr-test
Browse files Browse the repository at this point in the history
Update instruction to start integration tests
  • Loading branch information
masayag committed May 28, 2023
2 parents 1c03a14 + cedaf95 commit f73ffb7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion documentation/latest/dev/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,17 @@ export SERVER_IP=$(kubectl get nodes kind-control-plane -o json | jq -r '[.sta
You can execute the integration tests by running the following command:

```bash
SERVER_PORT=80 mvn verify -pl integration-tests -P integration-test -Dspring.profiles.active=dev
WORKFLOW_SERVICE_PATH=/workflow-service \
NOTIFICATION_SERVICE_PATH=/notification-service \
NOTIFICATION_SERVER_PORT=8081 \
SERVER_PORT=80 \
mvn verify -pl integration-tests -P integration-test -Dspring.profiles.active=dev
```

Please note that `WORKFLOW_SERVICE_PATH` and `NOTIFICATION_SERVICE_PATH` are
the `Ingress` paths defined in [ingress.yaml](https://github.com/parodos-dev/parodos/blob/main/hack/manifests/testing/ingress.yaml).
They ensure that the integration tests communicate with the correct services.

##### Update the cluster

If you want to apply a local change to the already running cluster you can execute:
Expand Down

0 comments on commit f73ffb7

Please sign in to comment.