Skip to content

Commit

Permalink
This commit removes pkg/test, the test local subcommand, and
Browse files Browse the repository at this point in the history
internal SDK e2e tests from the test/test-framework sample project,
as part of a larger effort to rely on envtest.

*: remove references to pkg/test, `test local`, and any tests
that were solely based on `test local`.
  • Loading branch information
estroz committed Jul 13, 2020
1 parent 53c0f35 commit 5b6ff37
Show file tree
Hide file tree
Showing 26 changed files with 14 additions and 2,542 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -266,15 +266,12 @@ test-links:
test-ci: test-sanity test-unit install test-subcommand test-e2e ## Run the CI test suite

# Subcommand tests.
.PHONY: test-subcommand test-subcommand-local test-subcommand-olm-install
.PHONY: test-subcommand test-subcommand-olm-install

test-subcommand: test-subcommand-local test-subcommand-olm-install
test-subcommand: test-subcommand-olm-install
./hack/tests/subcommand-bundle.sh
./hack/tests/subcommand-generate-csv.sh

test-subcommand-local:
./hack/tests/subcommand.sh

test-subcommand-olm-install:
./hack/tests/subcommand-olm-install.sh

Expand Down
2 changes: 0 additions & 2 deletions cmd/operator-sdk/cli/legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
"github.com/operator-framework/operator-sdk/cmd/operator-sdk/new"
"github.com/operator-framework/operator-sdk/cmd/operator-sdk/olm"
"github.com/operator-framework/operator-sdk/cmd/operator-sdk/run"
"github.com/operator-framework/operator-sdk/cmd/operator-sdk/test"
"github.com/operator-framework/operator-sdk/cmd/operator-sdk/version"
"github.com/operator-framework/operator-sdk/internal/flags"
"github.com/operator-framework/operator-sdk/internal/util/projutil"
Expand Down Expand Up @@ -76,7 +75,6 @@ func GetCLIRoot() *cobra.Command {
new.NewCmd(),
olm.NewCmd(),
run.NewCmdLegacy(),
test.NewCmd(),
version.NewCmd(),
)

Expand Down
31 changes: 0 additions & 31 deletions cmd/operator-sdk/test/cmd.go

This file was deleted.

Loading

0 comments on commit 5b6ff37

Please sign in to comment.