Skip to content

gexec: some impatient unit tests fail even on not-sluggish systems #580

@thediveo

Description

@thediveo

While an Intel Haswell Core i7 isn't exactly the newest kid on the block(chain), it isn't a slug either. On an Ubuntu 22.04.1LTS two gexec unit tests fail reproducibly: both start one or more sleeps and then send it/them SIGABRT. None of them manages to keep the tight 1s default limit. Raising these allowed deadline to safe 3s (or maybe 5s) allow them to pass every time. As it seems, SIGABRT-based tests need more headroom on systems for which core dumps are getting written (even with a snappy SSD).

The affected tests are session_test.go lines 127 and 241.

Wanna PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions