-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLOUDP-211696 Skip serverless cleanup on gov #2473
Conversation
test/e2e/atlas/cleanup_test.go
Outdated
@@ -85,6 +91,9 @@ func TestCleanup(t *testing.T) { | |||
deleteAllDataFederations(t, cliPath, projectID) | |||
}) | |||
t.Run("delete all serverless instances", func(t *testing.T) { | |||
if IsGov() { | |||
t.Skip() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main change
test/e2e/atlas/cleanup_test.go
Outdated
t.Parallel() | ||
deleteOrgInvitations(t, cliPath) | ||
}) | ||
t.Run("trying to org teams", func(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t.Run("trying to org teams", func(t *testing.T) { | |
t.Run("trying to delete org teams", func(t *testing.T) { |
test/e2e/atlas/cleanup_test.go
Outdated
@@ -85,6 +91,9 @@ func TestCleanup(t *testing.T) { | |||
deleteAllDataFederations(t, cliPath, projectID) | |||
}) | |||
t.Run("delete all serverless instances", func(t *testing.T) { | |||
if IsGov() { | |||
t.Skip() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t.Skip() | |
t.Skip("serverless is not available on gov") |
@@ -215,7 +215,7 @@ func deleteServerlessInstanceForProject(t *testing.T, cliPath, projectID, cluste | |||
deleteCmd := exec.Command(cliPath, args...) | |||
deleteCmd.Env = os.Environ() | |||
resp, err := deleteCmd.CombinedOutput() | |||
require.NoError(t, err, resp) | |||
require.NoError(t, err, string(resp)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks fro the drive-by on the error messages
Proposed changes
Skip serverless cleanup on gov
Jira ticket: CLOUDP-211696
Closes #[issue number]
Checklist
make fmt
and formatted my codeFurther comments