Skip to content

Flaky test: ocpp TestLaterRunsAfterTheSlotIsFree under -race #1943

Open

Description

@frahlg

Failed on CI run 40662243843 (job core (Go race detector), PR #1888, which changes only go/test/site): boot_test.go:184: later did not run at once with no boundCall active. The test expects a deferred call to run "at once" and has no wait, so a slow race-detector runner can fail it. Fix idea: wait for the call with a short deadline (e.g. 1 s) instead of checking immediately.

🤖 Generated with Claude Code

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