Skip to content

TestSystemThrottler test flake #1414

@StephenButtolph

Description

@StephenButtolph

Describe the bug

Seems like there is a flaky test:

--- FAIL: TestSystemThrottler (0.82s)
    inbound_resource_throttler_test.go:130: 
        	Error Trace:	/Users/runner/work/avalanchego/avalanchego/network/throttling/inbound_resource_throttler_test.go:130
        	Error:      	should have returned after about [maxRecheckDelay]
        	Test:       	TestSystemThrottler
    controller.go:269: missing call(s) to *tracker.MockTargeter.TargetUsage(is equal to NodeID-3EByCvwM8xayYrNJpzqkKtUdnEszJDbEq (ids.NodeID)) /Users/runner/work/avalanchego/avalanchego/network/throttling/inbound_resource_throttler_test.go:116
    controller.go:269: missing call(s) to *tracker.MockTracker.Usage(is equal to NodeID-3EByCvwM8xayYrNJpzqkKtUdnEszJDbEq (ids.NodeID), is anything) /Users/runner/work/avalanchego/avalanchego/network/throttling/inbound_resource_throttler_test.go:117
    controller.go:269: aborting test due to missing call(s)
FAIL
coverage: 82.3% of statements
FAIL	github.com/ava-labs/avalanchego/network/throttling	3.635s

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog 🧊

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions