@@ -45,19 +45,24 @@ func TestExamples(t *testing.T) {
45
45
}
46
46
47
47
shortTests := []integration.ProgramTestOptions {
48
- base .With (integration.ProgramTestOptions {
49
- Dir : path .Join (cwd , ".." , ".." , "aws-js-containers" ),
50
- Config : map [string ]string {
51
- "aws:region" : awsRegion ,
52
- },
53
- ExtraRuntimeValidation : func (t * testing.T , stack integration.RuntimeValidationStackInfo ) {
54
- maxWait := 10 * time .Minute
55
- endpoint := stack .Outputs ["frontendURL" ].(string )
56
- assertHTTPResultWithRetry (t , endpoint , maxWait , func (body string ) bool {
57
- return assert .Contains (t , body , "Hello, Pulumi!" )
58
- })
59
- },
60
- }),
48
+ // Test disabled due to flakiness
49
+ // https://github.com/pulumi/examples/issues/263
50
+ /*
51
+ base.With(integration.ProgramTestOptions{
52
+ Dir: path.Join(cwd, "..", "..", "aws-js-containers"),
53
+ Config: map[string]string{
54
+ "aws:region": awsRegion,
55
+ },
56
+ ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
57
+ maxWait := 10 * time.Minute
58
+ endpoint := stack.Outputs["frontendURL"].(string)
59
+ assertHTTPResultWithRetry(t, endpoint, maxWait, func(body string) bool {
60
+ return assert.Contains(t, body, "Hello, Pulumi!")
61
+ })
62
+ },
63
+ }),
64
+ */
65
+
61
66
base .With (integration.ProgramTestOptions {
62
67
Dir : path .Join (cwd , ".." , ".." , "aws-js-s3-folder" ),
63
68
Config : map [string ]string {
@@ -132,19 +137,25 @@ func TestExamples(t *testing.T) {
132
137
"create-role:unprivilegedUsername" : "unpriv" ,
133
138
},
134
139
}),
135
- base .With (integration.ProgramTestOptions {
136
- Dir : path .Join (cwd , ".." , ".." , "aws-ts-containers" ),
137
- Config : map [string ]string {
138
- "aws:region" : awsRegion ,
139
- },
140
- ExtraRuntimeValidation : func (t * testing.T , stack integration.RuntimeValidationStackInfo ) {
141
- maxWait := 10 * time .Minute
142
- endpoint := stack .Outputs ["frontendURL" ].(string )
143
- assertHTTPResultWithRetry (t , endpoint , maxWait , func (body string ) bool {
144
- return assert .Contains (t , body , "Hello, Pulumi!" )
145
- })
146
- },
147
- }),
140
+
141
+ // Test disabled due to flakiness
142
+ // https://github.com/pulumi/examples/issues/263
143
+ /*
144
+ base.With(integration.ProgramTestOptions{
145
+ Dir: path.Join(cwd, "..", "..", "aws-ts-containers"),
146
+ Config: map[string]string{
147
+ "aws:region": awsRegion,
148
+ },
149
+ ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
150
+ maxWait := 10 * time.Minute
151
+ endpoint := stack.Outputs["frontendURL"].(string)
152
+ assertHTTPResultWithRetry(t, endpoint, maxWait, func(body string) bool {
153
+ return assert.Contains(t, body, "Hello, Pulumi!")
154
+ })
155
+ },
156
+ }),
157
+ */
158
+
148
159
base .With (integration.ProgramTestOptions {
149
160
Dir : path .Join (cwd , ".." , ".." , "aws-ts-pulumi-webhooks" ),
150
161
Config : map [string ]string {
@@ -269,13 +280,19 @@ func TestExamples(t *testing.T) {
269
280
})
270
281
},
271
282
}),
272
- base .With (integration.ProgramTestOptions {
273
- Dir : path .Join (cwd , ".." , ".." , "cloud-js-containers" ),
274
- Config : map [string ]string {
275
- "aws:region" : awsRegion ,
276
- "cloud-aws:useFargate" : "true" ,
277
- },
278
- }),
283
+
284
+ // Test disabled due to flakiness
285
+ // https://github.com/pulumi/examples/issues/263
286
+ /*
287
+ base.With(integration.ProgramTestOptions{
288
+ Dir: path.Join(cwd, "..", "..", "cloud-js-containers"),
289
+ Config: map[string]string{
290
+ "aws:region": awsRegion,
291
+ "cloud-aws:useFargate": "true",
292
+ },
293
+ }),
294
+ */
295
+
279
296
base .With (integration.ProgramTestOptions {
280
297
Dir : path .Join (cwd , ".." , ".." , "cloud-js-httpserver" ),
281
298
Config : map [string ]string {
0 commit comments