Files
Josh van Leeuwen edff789de4 ci: cut KinD e2e time by running more packages at once (#10944)
* ci: cut KinD e2e time by running more packages at once

The KinD e2e jobs took 25 to 29 min and now set the PR wall time.
In run 40507380283 the time went to:

- The main pass: 30 min of package time at -p 3 took 10.8 min.
  Packages start in alphabetical order, so pubsub (5.9 min) started
  at minute 4 and ran alone at the end.
- The scheduler placement pass: 7.2 min at -p 2 took 4 min.
- "Free disk space": 2 to 3 min to free 21 GB on a runner that already
  has 76 GB free.
- Six helm installs (Dapr, Redis, Kafka, Zipkin, Postgres,
  Meilisearch), run one after another.

The cases mostly wait on sleeps and redeliveries, not CPU. KinD now
runs 5 packages at once in the main pass and 3 in the scheduler
placement pass, and the five longest packages are listed first: go
test starts packages in the order given. The defaults stay at 3 and 2
because dapr-test.yml runs the same target on AKS. The disk cleanup
runs in the background, and the helm installs run in parallel.

Running 5 packages at once pairs packages that never overlapped
before. The resiliency Kafka bindings shared consumer group "group1"
with the bindings tests' components, on different topics. Kafka
rebalances a group across all of its topics, so starting either
package's consumers would pause the other's. The resiliency bindings
get their own group.

Signed-off-by: joshvanl <me@joshvanl.dev>

* Review comment

Signed-off-by: joshvanl <me@joshvanl.dev>

* wait for the resiliency Kafka bindings before timing them

Signed-off-by: joshvanl <me@joshvanl.dev>

---------

Signed-off-by: joshvanl <me@joshvanl.dev>
2026-10-27 15:17:31 +00:00
..
2026-09-09 14:50:59 +00:00
2025-01-30 23:58:13 +00:00

Tests

This contains end-to-end tests, related test framework, and docs for Dapr:

  • apps/ includes test apps used for end-to-end tests
  • config/ includes component configurations for the default state/pubsub/bindings
  • docs/ includes documents how write and run e2e test
  • e2e/ includes e2e test drivers written using go testing
  • perf/ includes performance test drivers written using go testing
  • platforms/ includes test app manager for the specific test platform
  • runner/ includes test runner to simplify e2e tests
  • test-infra/ includes tools for test-infra
  • integration/ includes tests that runs integration tests against the daprd binary

End-to-end tests

Note: We're actively working on supporting diverse platforms and adding more e2e tests. If you are interested in E2E tests, please see Dapr E2E test project.