Skip to content

TestIPRangeAt64BitLimit: remove colon after XFAIL to help grepping#48480

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:no_xfail_colon
Sep 11, 2024
Merged

TestIPRangeAt64BitLimit: remove colon after XFAIL to help grepping#48480
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:no_xfail_colon

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

When looking for failures in CI, I always search for FAIL: (with a trailing colon) to find tests that fail. This test has some test-cases that are currently expected to fail, but due to the colon would also be included when searching;

=== RUN   TestIPRangeAt64BitLimit/ipRange_at_end_of_64-bit_subnet
    bridge_test.go:196: XFAIL: Container startup failed with error: Error response from daemon: no available IPv6 addresses on this network's address pools: test64bl (b014e28c35c14cc34514430a8cfe1c97632c7988c56d89cea46abb10fa32229d)
=== RUN   TestIPRangeAt64BitLimit/ipRange_at_64-bit_boundary_inside_56-bit_subnet
    bridge_test.go:196: XFAIL: Container startup failed with error: Error response from daemon: no available IPv6 addresses on this network's address pools: test64bl (fb70301550d7a2d1d3425f5c1010a9ef487a9a251221a2d68ac49d257b249013)

Remove the trailing : so that searching for unexpected failures does not include these tests.

When looking for failures in CI, I always search for `FAIL:` (with a
trailing colon) to find tests that fail. This test has some test-cases
that are currently expected to fail, but due to the colon would also
be included when searching;

    === RUN   TestIPRangeAt64BitLimit/ipRange_at_end_of_64-bit_subnet
        bridge_test.go:196: XFAIL: Container startup failed with error: Error response from daemon: no available IPv6 addresses on this network's address pools: test64bl (b014e28c35c14cc34514430a8cfe1c97632c7988c56d89cea46abb10fa32229d)
    === RUN   TestIPRangeAt64BitLimit/ipRange_at_64-bit_boundary_inside_56-bit_subnet
        bridge_test.go:196: XFAIL: Container startup failed with error: Error response from daemon: no available IPv6 addresses on this network's address pools: test64bl (fb70301550d7a2d1d3425f5c1010a9ef487a9a251221a2d68ac49d257b249013)

Remove the trailing `:` so that searching for unexpected failures does not
include these tests.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Copy link
Copy Markdown
Contributor

@robmry robmry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

(I search for "= FAIL"!)

@thaJeztah
Copy link
Copy Markdown
Member Author

(I search for "= FAIL"!)

Oh! Good one, I guess that works as well!

It's so engrained in my system to search for FAIL: - maybe that was with older test-frameworks we used; not sure if they had the = and/or maybe the = don't appear when not running verbose? (not sure now) 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants