Skip to content

flaky: encryption_rotation_http::rotation_runs_and_verifies_over_http under parallel grp_http #2067

Open

Description

@bplatz

fluree-db-server/tests/encryption_rotation_http.rs:161 fails intermittently when the whole grp_http binary runs in parallel, and passes when run alone.

if progress["state"] == json!("completed") {
    assert_eq!(body["active_here"], json!(false));   // :161

It failed in 5 of 8 full runs of the server tests (cargo test -p fluree-db-server --all-features, or the grp_http binary alone) on branches whose changes touch no rotation code (the merges of main into #2007 and #2008, and fixes on #2008), and passed in all 4 runs of the test by itself. The status endpoint appears to report progress.state = completed while active_here is still true for a moment.

Fix direction: clear active_here before publishing completed, or have the test poll until both hold.

Activity

  1. added
    bug
    P3
    area:server
    on Oct 11, 2026
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

    P3area:serverbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions