Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jan 21, 2025
1 parent 47772ae commit e13e671
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion integration-tests/js-compute/fixtures/app/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -1374,13 +1374,15 @@
}
},
"GET /headers/from-response/set": {
"flake": true,
"downstream_response": {
"status": 200,
"headers": [["cuStom", "test"]]
}
},
"GET /headers/from-response/delete-invalid": {},
"GET /headers/from-response/delete-invalid": { "flake": true },
"GET /headers/from-response/set-delete": {
"flake": true,
"downstream_response": {
"status": 200,
"headers": [["cuStom", "test"]]
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/js-compute/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ for (const chunk of chunks(Object.entries(tests), 100)) {
skipped: false,
};
} catch (error) {
console.error(test.downstream_request.pathname);
console.error('\n' + test.downstream_request.pathname);
throw new Error(`${title} ${error.message}`, {
cause: error,
});
Expand All @@ -311,8 +311,8 @@ for (const chunk of chunks(Object.entries(tests), 100)) {
} else {
if (test.environments.includes('compute')) {
return retry(
test.flake ? 10 : 4,
expBackoff(test.flake ? '60s' : '10s', test.flake ? '10s' : '1s'),
test.flake ? 20 : 4,
expBackoff(test.flake ? '60s' : '30s', test.flake ? '10s' : '1s'),
async () => {
let path = test.downstream_request.pathname;
let url = `${domain}${path}`;
Expand All @@ -334,7 +334,7 @@ for (const chunk of chunks(Object.entries(tests), 100)) {
skipped: false,
};
} catch (error) {
console.error(test.downstream_request.pathname);
console.error('\n' + test.downstream_request.pathname);
throw new Error(`${title} ${error.message}`);
}
},
Expand Down

0 comments on commit e13e671

Please sign in to comment.