@@ -36,7 +36,7 @@ public ProxyEndToEndTests(TestFixture fixture)
36
36
_settingsManager = ScriptSettingsManager . Instance ;
37
37
}
38
38
39
- [ Fact ( Skip = "Skipping proxy tests" ) ]
39
+ [ Fact ]
40
40
public async Task ListFunctions_Proxies_Succeeds ( )
41
41
{
42
42
// get functions including proxies
@@ -66,7 +66,7 @@ public async Task ListFunctions_Proxies_Succeeds()
66
66
Assert . Equal ( 3 , metadata . Length ) ;
67
67
}
68
68
69
- [ Fact ( Skip = "Skipping proxy tests" ) ]
69
+ [ Fact ]
70
70
public async Task Proxy_Invoke_Succeeds ( )
71
71
{
72
72
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "/mymockhttp") ;
@@ -75,7 +75,7 @@ public async Task Proxy_Invoke_Succeeds()
75
75
Assert . Equal ( response . Headers . GetValues ( "myversion" ) . ToArray ( ) [ 0 ] , "123" ) ;
76
76
}
77
77
78
- [ Theory ( Skip = "Skipping proxy tests" ) ]
78
+ [ Theory ]
79
79
[ InlineData ( "test.txt" ) ]
80
80
[ InlineData ( "test.asp" ) ]
81
81
[ InlineData ( "test.aspx" ) ]
@@ -92,7 +92,7 @@ public async Task File_Extensions_Test(string fileName)
92
92
Assert . Equal ( "test" , content ) ;
93
93
}
94
94
95
- [ Fact ( Skip = "Skipping proxy tests" ) ]
95
+ [ Fact ]
96
96
public async Task RootCheck ( )
97
97
{
98
98
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( "/" ) ;
@@ -102,7 +102,7 @@ public async Task RootCheck()
102
102
Assert . Equal ( "Root" , content ) ;
103
103
}
104
104
105
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
105
+ [ Fact ]
106
106
public async Task LocalFunctionCall ( )
107
107
{
108
108
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "myhttptrigger") ;
@@ -112,7 +112,7 @@ public async Task LocalFunctionCall()
112
112
Assert . Equal ( "Pong" , content ) ;
113
113
}
114
114
115
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
115
+ [ Fact ]
116
116
public async Task LocalFunctionCallWithAuth ( )
117
117
{
118
118
string functionKey = await _fixture . GetFunctionSecretAsync ( "PingAuth" ) ;
@@ -124,7 +124,7 @@ public async Task LocalFunctionCallWithAuth()
124
124
Assert . Equal ( "Pong" , content ) ;
125
125
}
126
126
127
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
127
+ [ Fact ]
128
128
public async Task LocalFunctionInfiniteRedirectTest ( )
129
129
{
130
130
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "api/myloop") ;
@@ -134,7 +134,7 @@ public async Task LocalFunctionInfiniteRedirectTest()
134
134
Assert . True ( content . Contains ( "Infinite loop" ) ) ;
135
135
}
136
136
137
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
137
+ [ Fact ]
138
138
public async Task LocalFunctionCallWithoutProxy ( )
139
139
{
140
140
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "api/Ping") ;
@@ -144,7 +144,7 @@ public async Task LocalFunctionCallWithoutProxy()
144
144
Assert . Equal ( "Pong" , content ) ;
145
145
}
146
146
147
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
147
+ [ Fact ]
148
148
public async Task LocalFunctionRouteCallWithoutProxy ( )
149
149
{
150
150
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "api/myroute/mysubroute") ;
@@ -154,7 +154,7 @@ public async Task LocalFunctionRouteCallWithoutProxy()
154
154
Assert . Equal ( "Pong" , content ) ;
155
155
}
156
156
157
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
157
+ [ Fact ]
158
158
public async Task LocalFunctionCallForNonAlphanumericProxyName ( )
159
159
{
160
160
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "MyHttpWithNonAlphanumericProxyName") ;
@@ -164,7 +164,7 @@ public async Task LocalFunctionCallForNonAlphanumericProxyName()
164
164
Assert . Equal ( "Pong" , content ) ;
165
165
}
166
166
167
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
167
+ [ Fact ]
168
168
public async Task CatchAllApis ( )
169
169
{
170
170
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "api/proxy/blahblah") ;
@@ -174,7 +174,7 @@ public async Task CatchAllApis()
174
174
Assert . Equal ( "Pong" , content ) ;
175
175
}
176
176
177
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
177
+ [ Fact ]
178
178
public async Task ColdStartRequest ( )
179
179
{
180
180
HttpRequestMessage request = new HttpRequestMessage ( HttpMethod . Get , "api/proxy/blahblah" ) ;
@@ -186,7 +186,7 @@ public async Task ColdStartRequest()
186
186
Assert . Equal ( "Pong" , content ) ;
187
187
}
188
188
189
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
189
+ [ Fact ]
190
190
//backend set as constant - no trailing slash should be added
191
191
public async Task TrailingSlashRemoved ( )
192
192
{
@@ -198,7 +198,7 @@ public async Task TrailingSlashRemoved()
198
198
Assert . Equal ( @"http://localhost/api/myroute/mysubroute?a=1" , content ) ;
199
199
}
200
200
201
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
201
+ [ Fact ]
202
202
//backend ended with simple param - no trailing slash should be added
203
203
public async Task TrailingSlashRemoved2 ( )
204
204
{
@@ -210,7 +210,7 @@ public async Task TrailingSlashRemoved2()
210
210
Assert . Equal ( @"http://localhost/api/myroute/mysubroute?a=1" , content ) ;
211
211
}
212
212
213
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
213
+ [ Fact ]
214
214
//backend path ended with wildcard param - slash should be kept
215
215
public async Task TrailingSlashKept ( )
216
216
{
@@ -222,7 +222,7 @@ public async Task TrailingSlashKept()
222
222
Assert . Equal ( @"http://localhost/api/myroute/mysubroute/?a=1" , content ) ;
223
223
}
224
224
225
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
225
+ [ Fact ]
226
226
//backend path ended with wildcard param - slash should be kept
227
227
public async Task TrailingSlashKept2 ( )
228
228
{
@@ -234,7 +234,7 @@ public async Task TrailingSlashKept2()
234
234
Assert . Equal ( @"http://localhost/api/myroute/mysubroute?a=1" , content ) ;
235
235
}
236
236
237
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
237
+ [ Fact ]
238
238
public async Task CatchAllWithCustomRoutes ( )
239
239
{
240
240
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "proxy/api/myroute/mysubroute") ;
@@ -244,15 +244,15 @@ public async Task CatchAllWithCustomRoutes()
244
244
Assert . Equal ( "Pong" , content ) ;
245
245
}
246
246
247
- [ Fact ( Skip = "Skipping proxy tests" ) ]
247
+ [ Fact ]
248
248
public async Task CatchAllWithCustomRoutesWithInvalidVerb ( )
249
249
{
250
250
HttpResponseMessage response = await _fixture . HttpClient . PutAsync ( $ "proxy/api/myroute/mysubroute", null ) ;
251
251
252
252
Assert . Equal ( "404" , response . StatusCode . ToString ( "D" ) ) ;
253
253
}
254
254
255
- [ Fact ( Skip = "Skipping proxy tests" ) ]
255
+ [ Fact ]
256
256
public async Task LongQueryString ( )
257
257
{
258
258
var longRoute = "/?q=test123412341234123412341234123412341234123412341234123412341234123412341234123421341234123423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234213423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234test123412341234123412341234123412341234123412341234123412341234123412341234123421341234123423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234213423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234test123412341234123412341234123412341234123412341234123412341234123412341234123421341234123423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234213423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234test123412341234123412341234123412341234123412341234123412341234123412341234123421341234123423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234213423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234test123412341234123412341234123412341234123412341234123412341234123412341234123421341234123423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234213423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234test123412341234123412341234123412341234123412341234123412341234123412341234123421341234123423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234213423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234test123412341234123412341234123412341234123412341234123412341234123412341234123421341234123423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234213423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234test123412341234123412341234123412341234123412341234123412341234123412341234123421341234123423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234213423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234test123412341234123412341234123412341234123412341234123412341234123412341234123421341234123423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234213423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234" ;
@@ -265,7 +265,7 @@ public async Task LongQueryString()
265
265
Assert . Equal ( "200" , response . StatusCode . ToString ( "D" ) ) ;
266
266
}
267
267
268
- [ Fact ( Skip = "Skipping proxy tests" ) ]
268
+ [ Fact ]
269
269
public async Task LongRoute ( )
270
270
{
271
271
var longRoute = "test123412341234123412341234123412341234123412341234123412341234123412341234123421341234123423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234213423141234123412341234123412341234123412341234123412341234123412341234123412341234123412341234" ;
@@ -278,7 +278,7 @@ public async Task LongRoute()
278
278
Assert . Equal ( "200" , response . StatusCode . ToString ( "D" ) ) ;
279
279
}
280
280
281
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
281
+ [ Fact ]
282
282
public async Task ProxyCallingLocalProxy ( )
283
283
{
284
284
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "/pr1/api/Ping") ;
@@ -288,7 +288,7 @@ public async Task ProxyCallingLocalProxy()
288
288
Assert . Equal ( "Pong" , content ) ;
289
289
}
290
290
291
- [ Fact ( Skip = "https://github.com/Azure/azure-functions-host/issues/4770" ) ]
291
+ [ Fact ]
292
292
public async Task LocalFunctionCallBodyOverride ( )
293
293
{
294
294
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "/mylocalhttpoverride") ;
@@ -299,7 +299,7 @@ public async Task LocalFunctionCallBodyOverride()
299
299
Assert . Equal ( "{\" test\" :\" {}{123}\" }" , content ) ;
300
300
}
301
301
302
- [ Fact ( Skip = "Skipping proxy tests" ) ]
302
+ [ Fact ]
303
303
public async Task ExternalCallBodyOverride ( )
304
304
{
305
305
HttpResponseMessage response = await _fixture . HttpClient . GetAsync ( $ "/myexternalhttpoverride") ;
@@ -310,7 +310,7 @@ public async Task ExternalCallBodyOverride()
310
310
Assert . Equal ( "{\" test\" :\" 123\" }" , content ) ;
311
311
}
312
312
313
- [ Fact ( Skip = "Skipping proxy tests" ) ]
313
+ [ Fact ]
314
314
//"HEAD" request to proxy. backend returns 304 with no body but content-type shouldn't be null
315
315
public async Task EmptyHeadReturnsContentType ( )
316
316
{
@@ -324,7 +324,7 @@ public async Task EmptyHeadReturnsContentType()
324
324
Assert . True ( response . Headers . Contains ( "Test" ) ) ;
325
325
}
326
326
327
- [ Fact ( Skip = "Skipping proxy tests" ) ]
327
+ [ Fact ]
328
328
//"GET" request to proxy. backend returns 304 with no body so content-type should be null
329
329
public async Task EmptyGetDoesntReturnsContentType ( )
330
330
{
0 commit comments