baselineupdater

package
v0.0.0-...-ecc8568 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package baselineupdater marks test variants from an invocation as submitted by adding the test variants to the set of tests for its baseline identifier.

Index

Constants

This section is empty.

Variables

View Source
var BaselineUpdaterTasks = tq.RegisterTaskClass(tq.TaskClass{
	ID:            "update-baseline",
	Prototype:     &taskspb.MarkInvocationSubmitted{},
	Kind:          tq.Transactional,
	Queue:         "baselineupdater",
	RoutingPrefix: "/internal/tasks/baselineupdater",
})

BaselineUpdaterTasks describes how to route mark submitted tasks.

View Source
var TransactionLimit = 8000

TransactionLimit is set to 8000 because Cloud Spanner limits 40k mutations per transaction. We have 5 columns to write to per row, and 40,000/5 = 8000.

Functions

func InitServer

func InitServer(srv *server.Server)

InitServer initializes a baselineupdator server.

func Schedule

func Schedule(ctx context.Context, invID string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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