Skip to content

test: TestRealCommandExecutor_Execute_OutputLimit timing assertion flakes under load #1701

Closed

Description

@Wikid82

The output-limit subtests in backend/internal/api/handlers/crowdsec_cscli_contract_test.go (around line 754) assert a wall-clock bound of under 4 s. They failed once during a heavily loaded coverage run and pass 3/3 alone. Severity: low. Suggested approach: assert on bytes read / truncation behaviour or widen the bound instead of relying on wall-clock time. Found while working on the hub content verification change.

Activity

  1. self-assigned this
    on Oct 23, 2026
  2. moved this from Backlog to In Progress in Charonon Oct 23, 2026
  3. moved this from In Progress to Done in Charonon Nov 5, 2026
  4. closed this as completedby moving to Done in Charonon Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

backendServer-side codecrowdsecCrowdSec integrationtestingTest suite

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions