flake

package
v0.52.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package flake marks an instance of testing.TB(https://pkg.go.dev/testing#TB) as flake. Use flake.Mark to mark a known flake test. Use `skip-flake` to control the behavior, or set the environment variable `SKIP_FLAKE`. Flags take precedence over environment variables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mark

func Mark(t testing.TB)

Mark test as a known flaky. If any of skip-flake flag or GO_TEST_SKIP_FLAKE environment variable is set, the test will be skipped. Otherwise test will be marked as known flake through a special message on tests output.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL