Skip to content

[FEATURE] Restore integration test stability #425

Closed
open-feature/go-sdk-contrib
#123

Description

@skyerus

Requirements

Changes to flagd's sync mechanisms have caused the integration tests to become unstable. Investigate & eliminate points of instability.

Activity

  1. added
    enhancement
    Needs Triage
    on Feb 22, 2023
  2. self-assigned this
    on Feb 22, 2023
  3. removed
    Needs Triage
    on Feb 22, 2023
  4. skyerus commented on Feb 22, 2023

    @skyerus
    ContributorAuthor

    The problem is that the tests replace the contents of the flag configuration file with the amended configuration (to test that cache has been invalidated). In doing this, flagd receives the change event, pulls the contents of the file, sees that the file is empty (it hasn't been written to yet), interprets this as an empty state and invalidates all of the cache. Then the configuration gets written to the file and flagd interprets the event correctly.

    Potential solutions:

  5. added a commit that references this issue on Feb 24, 2023
    5a6a5d5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions