Skip to content

Commit

Permalink
Disable E2E tests on Aiven (#774)
Browse files Browse the repository at this point in the history
We've continued to see resource leaks on these tests and this provider
is not high enough usage to merit automated E2E testing in CI.

Fixes #235
  • Loading branch information
mjeffryes authored Dec 4, 2024
1 parent a2b2df3 commit c99f55e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/examples_dotnet_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2016-2017, Pulumi Corporation. All rights reserved.
//go:build dotnet || all
// +build dotnet all

package examples
Expand All @@ -10,7 +11,7 @@ import (
)

func getCsharpBaseOptions(t *testing.T) integration.ProgramTestOptions {
base := getBaseOptions()
base := getBaseOptions(t)
baseCsharp := base.With(integration.ProgramTestOptions{
Dependencies: []string{
"Pulumi.Aiven",
Expand Down
2 changes: 1 addition & 1 deletion examples/examples_nodejs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func TestAccPgService(t *testing.T) {

func getJSBaseOptions(t *testing.T) integration.ProgramTestOptions {
projectName := getProjectName(t)
base := getBaseOptions()
base := getBaseOptions(t)
baseJS := base.With(integration.ProgramTestOptions{
ExpectRefreshChanges: true,
Config: map[string]string{
Expand Down
3 changes: 2 additions & 1 deletion examples/examples_py_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2016-2017, Pulumi Corporation. All rights reserved.
//go:build python || all
// +build python all

package examples
Expand All @@ -11,7 +12,7 @@ import (
)

func getPythonBaseOptions(t *testing.T) integration.ProgramTestOptions {
base := getBaseOptions()
base := getBaseOptions(t)
basePython := base.With(integration.ProgramTestOptions{
Dependencies: []string{
filepath.Join("..", "sdk", "python", "bin"),
Expand Down
5 changes: 4 additions & 1 deletion examples/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ func getCwd(t *testing.T) string {
return cwd
}

func getBaseOptions() integration.ProgramTestOptions {
func getBaseOptions(t *testing.T) integration.ProgramTestOptions {
t.Skip(`Testing for pulumi-aiven needs to be robust to resource leaks (#235).
In the past, we have leaked resources here, and continued E2E testing on this provider is not a priority
so we have chosen to discontinue testing pulumi-aiven in CI.`)
return integration.ProgramTestOptions{
RunUpdateTest: false,
}
Expand Down

0 comments on commit c99f55e

Please sign in to comment.