Skip to content

Flaky ReconfigurationIntegrationSpec: small CSV source can finish before pause #5913

Description

@Ma77Ball

Task Summary

ReconfigurationIntegrationSpec's two CSV-sourced tests use a 100-row source (smallCsvScanOpDesc). The run can reach COMPLETED before the pauseWorkflow round-trip takes effect; when it does, PauseHandler.pauseWorkflow finds no running regions and emits the current state (COMPLETED) rather than PAUSED, so TestUtils.shouldReconfigure's Await.result(pausedReached, 10.seconds) times out and the test fails. The existing Retries mixin does not help because the race recurs on retry. Fix by using mediumCsvScanOpDesc (100k rows) so the run stays in flight when pause lands, matching the non-flaky sibling specs ReconfigurationSpec and PauseSpec. Surfaced on the amber-integration CI job (e.g. run 28017649934).

Task Type

  • Test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions