@@ -45,24 +45,19 @@ func TestExamples(t *testing.T) {
45
45
}
46
46
47
47
shortTests := []integration.ProgramTestOptions {
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
-
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
+ }),
66
61
base .With (integration.ProgramTestOptions {
67
62
Dir : path .Join (cwd , ".." , ".." , "aws-js-s3-folder" ),
68
63
Config : map [string ]string {
@@ -137,25 +132,19 @@ func TestExamples(t *testing.T) {
137
132
"create-role:unprivilegedUsername" : "unpriv" ,
138
133
},
139
134
}),
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
-
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
+ }),
159
148
base .With (integration.ProgramTestOptions {
160
149
Dir : path .Join (cwd , ".." , ".." , "aws-ts-pulumi-webhooks" ),
161
150
Config : map [string ]string {
@@ -280,19 +269,13 @@ func TestExamples(t *testing.T) {
280
269
})
281
270
},
282
271
}),
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
-
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
+ }),
296
279
base .With (integration.ProgramTestOptions {
297
280
Dir : path .Join (cwd , ".." , ".." , "cloud-js-httpserver" ),
298
281
Config : map [string ]string {
0 commit comments