You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The **Apollo Router Core** is a configurable, high-performance **graph router**
9
9
10
10
## Development
11
11
12
-
We use [`mise`](https://mise.jdx.dev/) to manage toolchain dependencies.
12
+
We use [`mise`](https://mise.jdx.dev/) to manage toolchain and test dependencies.
13
13
Example commands in this document assume that mise shims are available in the environment.
14
14
If you do not use `mise activate`, you can use `mise x -- <COMMAND>` in place of the commands below, for example `mise x -- cargo build`.
15
15
@@ -28,15 +28,16 @@ docker compose up -d
28
28
```
29
29
30
30
This starts:
31
-
-**Redis** (port 6379-7005) - Required for entity caching, response caching, and Redis-related integration tests
32
-
-**PostgreSQL** (port 5432) - Used by database integration tests
31
+
-**Redis** (port 6379, 7000-7005) - Required for entity caching, response caching, and Redis-related integration tests
33
32
-**Zipkin** (port 9411) - For distributed tracing tests
34
33
-**Datadog Agent** (port 8126) - For Datadog telemetry integration tests
35
34
36
35
Some tests that use the features above are configured with `required_to_start: true`. The router won't start if these services aren't available, causing test failures.
37
36
38
37
**Note:**`-d` runs services in the background. Remove `-d` if you want to see logs or run in foreground.
39
38
39
+
Several tests also require the `redis-cli` binary; this is installed by default if you use `mise`.
40
+
40
41
#### Enterprise feature testing
41
42
42
43
Some tests require Apollo GraphOS credentials to test enterprise features like licensing, reporting, and Apollo Studio integration.
0 commit comments