importtestsuites

package
v0.0.0-...-b69053b Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package importtestsuites contains e2e tests for image import cli tools

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CLITestSuite

func CLITestSuite(
	ctx context.Context, tswg *sync.WaitGroup, testSuites chan *junitxml.TestSuite,
	logger *log.Logger, testSuiteRegex, testCaseRegex *regexp.Regexp,
	testProjectConfig *testconfig.Project)

CLITestSuite ensures that gcloud and the wrapper have consistent behavior for image imports.

func ImageImportSuite

func ImageImportSuite(
	ctx context.Context, tswg *sync.WaitGroup, testSuites chan *junitxml.TestSuite,
	logger *log.Logger, testSuiteRegex, testCaseRegex *regexp.Regexp,
	testProjectConfig *testconfig.Project)

ImageImportSuite performs image imports, and verifies that the results are bootable and are are able to perform basic GCP operations. The suite includes support for negative test cases, where error messages are validated against expected error messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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