Skip to content

test/chan/select2.go is flakey #5282

@lexprfuncall

Description

@lexprfuncall
The purpose of this test is to "Test that selects do not consume undue
memory".  It measures the amount of memory used before and after a select and fails
if more than 100,000 bytes were allocated across 100,000 selects.

There are many opporunities for additional allocations to be performed during the
execution of the test.  Occationally this test fails with as small (in the neighborhood
of a page) of additional memory was allocated.

Raising the trigger to 1.1e5 might make the test less flakey.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions