Skip to content

The inter-query cache has intermittent test failures #6978

Open
@johanfylling

Description

@johanfylling

The tests for the inter-query cache in topdown/cache/cache_test.go has intermittent, failing tests.

E.g.: https://github.com/open-policy-agent/opa/actions/runs/10618059480/job/29432842474?pr=6977#step:6:175

This could be indicative of an issue in the cache itself; or it could be a timing issue localized to the tests, as these seem to heavily rely on time.Sleep().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions