Pick up new test infrastructure
MODIFY
misc/test/Gopkg.lock
misc/test/Gopkg.lock
revision = "092cba3727bb9b4a2f0e922cd6c0f93ea270e363"
version = "v1.13.1"
+[[projects]]
+ name = "github.com/dustin/go-humanize"
+ packages = [
+ ".",
+ "english"
+ ]
+ revision = "9f541cc9db5d55bce703bd99987c9d5cb8eea45e"
+ version = "v1.0.0"
+
[[projects]]
name = "github.com/emirpasic/gods"
packages = [
packages = ["."]
revision = "0b12d6b5"
+[[projects]]
+ branch = "master"
+ name = "github.com/kballard/go-shellquote"
+ packages = ["."]
+ revision = "95032a82bc518f77982ea72343cc1ade730072f0"
+
[[projects]]
name = "github.com/kevinburke/ssh_config"
packages = ["."]
revision = "9fc7bb800b555d63157c65a904c86a2cc7b4e795"
version = "0.4"
+[[projects]]
+ name = "github.com/mattn/go-colorable"
+ packages = ["."]
+ revision = "167de6bfdfba052fa6b2d3664c8f5272e23c9072"
+ version = "v0.0.9"
+
+[[projects]]
+ name = "github.com/mattn/go-isatty"
+ packages = ["."]
+ revision = "6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c"
+ version = "v0.0.4"
+
+[[projects]]
+ branch = "master"
+ name = "github.com/mgutz/ansi"
+ packages = ["."]
+ revision = "9520e82c474b0a04dd04f8a40959027271bab992"
+
[[projects]]
branch = "master"
name = "github.com/mitchellh/go-homedir"
name = "github.com/pulumi/pulumi"
packages = [
"pkg/apitype",
+ "pkg/apitype/migrate",
"pkg/backend",
- "pkg/backend/local",
+ "pkg/backend/display",
+ "pkg/backend/filestate",
"pkg/diag",
"pkg/diag/colors",
"pkg/encoding",
"pkg/resource",
"pkg/resource/config",
"pkg/resource/deploy",
+ "pkg/resource/deploy/providers",
"pkg/resource/graph",
"pkg/resource/plugin",
"pkg/resource/stack",
"pkg/testing/integration",
"pkg/tokens",
"pkg/util/cancel",
+ "pkg/util/ciutil",
"pkg/util/cmdutil",
"pkg/util/contract",
"pkg/util/fsutil",
"pkg/util/httputil",
"pkg/util/logging",
"pkg/util/mapper",
+ "pkg/util/result",
"pkg/util/retry",
"pkg/util/rpcutil",
"pkg/util/rpcutil/rpcerror",
- "pkg/util/testutil",
"pkg/version",
"pkg/workspace",
"sdk/proto/go"
]
- revision = "015344ab0693ca433d211698eddc6a6a85588bf0"
+ revision = "676adf62b8d4d5dc83a7cf91eff0eb6d2eb1b9a8"
[[projects]]
branch = "master"
packages = ["."]
revision = "2ab6b7470a54bfa9b5b0289f9b4e8fc4839838f7"
+[[projects]]
+ name = "github.com/satori/go.uuid"
+ packages = ["."]
+ revision = "f58768cc1a7a7e77a3bd49e98cdd21419399b6a3"
+ version = "v1.2.0"
+
[[projects]]
name = "github.com/sergi/go-diff"
packages = ["diffmatchpatch"]
revision = "f35b8ab0b5a2cef36673838d662e249dd9c94686"
version = "v1.2.2"
+[[projects]]
+ branch = "master"
+ name = "github.com/texttheater/golang-levenshtein"
+ packages = ["levenshtein"]
+ revision = "d188e65d659ef53fcdb0691c12f1bba64928b649"
+
[[projects]]
name = "github.com/uber/jaeger-client-go"
packages = [
revision = "168a6198bcb0ef175f7dacec0b8691fc141dc9b8"
version = "v1.13.0"
+[[projects]]
+ name = "gopkg.in/AlecAivazis/survey.v1"
+ packages = [
+ ".",
+ "core",
+ "terminal"
+ ]
+ revision = "fb519f89e19299d852ffdd9b734af122d2dcbd30"
+ version = "v1.7.0"
+
[[projects]]
name = "gopkg.in/src-d/go-billy.v4"
packages = [

MODIFY
misc/test/examples_test.go
misc/test/examples_test.go
@@ -34,12 +34,12 @@ func TestExamples(t *testing.T) {
base := integration.ProgramTestOptions{
Tracing: "https://tracing.pulumi-engineering.com/collector/api/v1/spans",
+ ExpectRefreshChanges: true,
}
examples := []integration.ProgramTestOptions{
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "aws-js-s3-folder"),
- SkipBuild: true,
Config: map[string]string{
"aws:region": awsRegion,
},
@@ -51,7 +51,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "aws-js-s3-folder-component"),
- SkipBuild: true,
Config: map[string]string{
"aws:region": awsRegion,
},
@@ -63,7 +62,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "aws-js-webserver"),
- SkipBuild: true,
Config: map[string]string{
"aws:region": awsRegion,
},
@@ -73,7 +71,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "aws-js-webserver-component"),
- SkipBuild: true,
Config: map[string]string{
"aws:region": awsRegion,
},
@@ -83,7 +80,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "azure-js-webserver"),
- SkipBuild: true,
Config: map[string]string{
"azure:environment": azureEnviron,
"username": "testuser",
@@ -95,7 +91,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "azure-ts-functions"),
- SkipBuild: true,
Config: map[string]string{
"azure:environment": azureEnviron,
},
@@ -107,7 +102,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "azure-ts-appservice"),
- SkipBuild: true,
Config: map[string]string{
"azure:environment": azureEnviron,
"sqlPassword": "2@Password@2",
@@ -120,7 +114,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "aws-ts-apigateway"),
- SkipBuild: true,
Config: map[string]string{
"aws:region": awsRegion,
},
@@ -134,7 +127,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "aws-ts-ruby-on-rails"),
- SkipBuild: true,
Config: map[string]string{
"aws:region": awsRegion,
"dbUser": "testUser",
@@ -152,7 +144,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "cloud-js-api"),
- SkipBuild: true,
Config: map[string]string{
"aws:region": awsRegion,
},
@@ -164,7 +155,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "cloud-js-containers"),
- SkipBuild: true,
Config: map[string]string{
// use us-west-2 to assure fargate
"aws:region": "us-west-2",
@@ -178,7 +168,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "cloud-js-httpserver"),
- SkipBuild: true,
Config: map[string]string{
"cloud:provider": "aws",
"aws:region": awsRegion,
@@ -191,7 +180,6 @@ func TestExamples(t *testing.T) {
}),
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "cloud-ts-url-shortener-cache-http"),
- SkipBuild: true,
Config: map[string]string{
// use us-west-2 to assure fargate
"aws:region": "us-west-2",
@@ -211,7 +199,6 @@ func TestExamples(t *testing.T) {
// 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+_^$",
@@ -229,7 +216,6 @@ func TestExamples(t *testing.T) {
// Verbose: true,
// DebugLogLevel: 8,
// DebugUpdates: true,
- // SkipBuild: true,
// Config: map[string]string{
// "aws:region": awsRegion,
// },
@@ -242,7 +228,6 @@ func TestExamples(t *testing.T) {
longExamples := []integration.ProgramTestOptions{
base.With(integration.ProgramTestOptions{
Dir: path.Join(cwd, "..", "..", "azure-ts-aks-helm"),
- SkipBuild: true,
Config: map[string]string{
"azure:environment": azureEnviron,
"password": "testTEST1234+_^$",

Pick up new test infrastructure