File tree Expand file tree Collapse file tree 3 files changed +6
-11
lines changed
integration-tests/js-compute Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "GET /acl" : { "environments" : [" compute" ], "skip" : true },
2
+ "GET /acl" : { "environments" : [" compute" ] },
3
3
"GET /backend/timeout" : {
4
4
"environments" : [" compute" ],
5
5
"downstream_response" : {
Original file line number Diff line number Diff line change @@ -154,8 +154,7 @@ zx.verbose = true;
154
154
await setupConfigStores ( ) ;
155
155
await setupKVStore ( ) ;
156
156
await setupSecretStore ( ) ;
157
- // disabled pending 503 fix
158
- // await setupAcl();
157
+ await setupAcl ( ) ;
159
158
zx . verbose = false ;
160
159
161
160
await zx `fastly service-version activate --service-id ${ serviceId } --version latest --token $FASTLY_API_TOKEN` ;
Original file line number Diff line number Diff line change @@ -81,12 +81,9 @@ async function removeKVStore() {
81
81
82
82
let STORE_ID = existingListId ( stores , KV_STORE_NAME ) ;
83
83
if ( STORE_ID ) {
84
- await fetch ( `https://api.fastly.com/resources/stores/object/${ STORE_ID } ` , {
85
- method : 'DELETE' ,
86
- headers : {
87
- 'Fastly-Key' : FASTLY_API_TOKEN ,
88
- } ,
89
- } ) ;
84
+ await zx `fastly kv-store delete --store-id=${ STORE_ID } --quiet --all -y --token $FASTLY_API_TOKEN` ;
85
+ } else {
86
+ console . error ( `Unable to find KV Store ${ KV_STORE_NAME } to delete` ) ;
90
87
}
91
88
}
92
89
@@ -138,8 +135,7 @@ async function removeAcl() {
138
135
await removeConfigStores ( ) ;
139
136
await removeKVStore ( ) ;
140
137
await removeSecretStore ( ) ;
141
- // Disabled pending 503 fix
142
- // await removeAcl();
138
+ await removeAcl ( ) ;
143
139
144
140
console . log (
145
141
`Tear down has finished! Took ${ ( Date . now ( ) - startTime ) / 1000 } seconds to complete` ,
You can’t perform that action at this time.
0 commit comments