testfailuredetection

package
v0.0.0-...-a70aae3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package testfailuredetection analyses recent test failures with the changepoint analysis from LUCI analysis, and select test failures to bisect.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func First

First sorts the input slice and returns the first element in the sorted slice.

func RegisterTaskClass

func RegisterTaskClass(srv *server.Server, luciAnalysisProjectFunc func(luciProject string) string) error

RegisterTaskClass registers the task class for tq dispatcher.

func Run

func Run(ctx context.Context, client analysisClient, task *tpb.TestFailureDetectionTask) error

Run finds and group test failures to send to bisector.

func Schedule

func Schedule(ctx context.Context, task *tpb.TestFailureDetectionTask) error

Schedule enqueues a task to find test failures to bisect.

func Sort

func Sort(bundles []*model.TestFailureBundle)

Sort sorts slice of testFailureBundles by their redundancy score and regression end position.

Types

This section is empty.

Jump to

Keyboard shortcuts

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