Changed to simply comment the azure-ts-aks-mean test that is failing
rather than introducing skipped tests concept.
MODIFY
azure-ts-aks-mean/README.md
azure-ts-aks-mean/README.md
@@ -51,7 +51,7 @@ npm install
> **Note**: Due to an issue in the Azure Terraform Provider (https://github.com/terraform-providers/terraform-provider-azurerm/issues/1635) the
> creation of an Azure Service Principal, which is needed to create the Kubernetes cluster (see cluster.ts), is delayed and may not
- > be available when the cluster is created. If you get a Service Principal not found error, as a work around, you should be able to run `Pulumi up`
+ > be available when the cluster is created. If you get a Service Principal not found error, as a work around, you should be able to run `pulumi up`
> again, at which time the Service Principal should have been created.
```sh

MODIFY
misc/test/examples_test.go
misc/test/examples_test.go
@@ -105,52 +105,37 @@ func TestExamples(t *testing.T) {
})
},
}),
- }
-
- // The tests in the skippedExamples collection below will not be run and will be reported as SKIPPED on the test run
- // output. Put a comment above the test to document why the test is being skipped.
- skippedExamples := []integration.ProgramTestOptions{
- // This test fails due to a bug in the Terraform Azure provider in which the
+ // TODO: This test fails due to a bug in the Terraform Azure provider in which the
// service principal is not available when attempting to create the K8s cluster.
// See the azure-ts-aks-example readme for more detail.
- base.With(integration.ProgramTestOptions{
- Dir: path.Join(cwd, "..", "..", "azure-ts-aks-mean"),
- SkipBuild: true,
- Config: map[string]string{
- "azure:environment": azureEnviron,
- "password": "testTEST1234+_^$",
- "sshPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDeREOgHTUgPT00PTr7iQF9JwZQ4QF1VeaLk2nHKRvWYOCiky6hDtzhmLM0k0Ib9Y7cwFbhObR+8yZpCgfSX3Hc3w2I1n6lXFpMfzr+wdbpx97N4fc1EHGUr9qT3UM1COqN6e/BEosQcMVaXSCpjqL1jeNaRDAnAS2Y3q1MFeXAvj9rwq8EHTqqAc1hW9Lq4SjSiA98STil5dGw6DWRhNtf6zs4UBy8UipKsmuXtclR0gKnoEP83ahMJOpCIjuknPZhb+HsiNjFWf+Os9U6kaS5vGrbXC8nggrVE57ow88pLCBL+3mBk1vBg6bJuLBCp2WTqRzDMhSDQ3AcWqkucGqf dremy@remthinkpad",
- },
- ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
- assertHTTPResult(t, stack.Outputs["endpoint"], func(body string) bool {
- return assert.Contains(t, body, "<title>Node/Angular Todo App</title>>")
- })
- },
- }),
+ // base.With(integration.ProgramTestOptions{
+ // Dir: path.Join(cwd, "..", "..", "azure-ts-aks-mean"),
+ // SkipBuild: true,
+ // Config: map[string]string{
+ // "azure:environment": azureEnviron,
+ // "password": "testTEST1234+_^$",
+ // "sshPublicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDeREOgHTUgPT00PTr7iQF9JwZQ4QF1VeaLk2nHKRvWYOCiky6hDtzhmLM0k0Ib9Y7cwFbhObR+8yZpCgfSX3Hc3w2I1n6lXFpMfzr+wdbpx97N4fc1EHGUr9qT3UM1COqN6e/BEosQcMVaXSCpjqL1jeNaRDAnAS2Y3q1MFeXAvj9rwq8EHTqqAc1hW9Lq4SjSiA98STil5dGw6DWRhNtf6zs4UBy8UipKsmuXtclR0gKnoEP83ahMJOpCIjuknPZhb+HsiNjFWf+Os9U6kaS5vGrbXC8nggrVE57ow88pLCBL+3mBk1vBg6bJuLBCp2WTqRzDMhSDQ3AcWqkucGqf dremy@remthinkpad",
+ // },
+ // ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
+ // assertHTTPResult(t, stack.Outputs["endpoint"], func(body string) bool {
+ // return assert.Contains(t, body, "<title>Node/Angular Todo App</title>>")
+ // })
+ // },
+ // }),
// TODO[pulumi/pulumi#1606] This test is failing in CI, disabling until this issue is resolved.
- base.With(integration.ProgramTestOptions{
- Dir: path.Join(cwd, "..", "..", "aws-py-webserver"),
- Verbose: true,
- DebugLogLevel: 8,
- DebugUpdates: true,
- SkipBuild: true,
- Config: map[string]string{
- "aws:region": awsRegion,
- },
- ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
- assertHTTPHelloWorld(t, stack.Outputs["public_dns"])
- },
- }),
- }
-
- // Print skipped example tests to the test output
- if len(skippedExamples) > 0 {
- t.Logf("SKIPPED Tests =============")
- for _, skippedTest := range skippedExamples {
- _, exampleName := path.Split(skippedTest.Dir)
- t.Logf(" SKIPPED Example Test: %v", exampleName)
- }
- t.Logf("===========================")
+ // base.With(integration.ProgramTestOptions{
+ // Dir: path.Join(cwd, "..", "..", "aws-py-webserver"),
+ // Verbose: true,
+ // DebugLogLevel: 8,
+ // DebugUpdates: true,
+ // SkipBuild: true,
+ // Config: map[string]string{
+ // "aws:region": awsRegion,
+ // },
+ // ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
+ // assertHTTPHelloWorld(t, stack.Outputs["public_dns"])
+ // },
+ // }),
}
longExamples := []integration.ProgramTestOptions{

Changed to simply comment the azure-ts-aks-mean test that is failing
rather than introducing skipped tests concept.