fixtest

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureNoDuplicates

func EnsureNoDuplicates(client *admin.APIClient, logger *zap.SugaredLogger, projectName string) error

EnsureNoDuplicates removes projects with same name but different ID. Atlas sometimes creates duplicate projects, we need our tests to defend against that to avoid flaky tests

func ZapLoggerFrom

func ZapLoggerFrom(w io.Writer) *zap.SugaredLogger

ZapLoggerFrom builds a zap.SugaredLogger from an IO Writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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