Skip to content

test: e2e TestEndToEnd sometimes times out waiting for the /check reply #17

Open

Description

@groupsky

Problem

The CI run on main for commit 1e2d9e5 (2026-11-16) failed in the end-to-end test:

e2e_test.go:173: timed out waiting for the check reply
--- FAIL: TestEndToEnd (36.14s)

The same test passed on the next runs (#15, #16), with no code change in between that touches /check. So the test, or the code it tests, is flaky. The wait at test/e2e/e2e_test.go:173 waits up to 30 seconds for two messages: "Checking config-repo" (from the listener) and "No new commit. The applied commit is ..." (from root, through the outbox).

Done when

  • The cause is found: a race in the test, or a race in the listener or the outbox code. The issue says which.
  • If it is in the code, it is fixed with a test for the race. If it is in the test, the test waits for the right thing.
  • go test -race -tags e2e -count=50 ./test/e2e/... passes on a dev machine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions