Skip to content

Commit

Permalink
chore: log download progress for minimal to try and debug
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Aug 28, 2024
1 parent b97a83f commit aa653e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/spec-test-util/src/downloadTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ export async function downloadGenericSpecTests<TestNames extends string>(
url,
responseType: "stream",
timeout: 45 * 60 * 1000,
onDownloadProgress: (e) => {
if (url.includes("minimal.tar.gz")) {
log(JSON.stringify(e));
}
},

headers: {
// eslint-disable-next-line @typescript-eslint/naming-convention
Connection: "keep-alive",
Expand Down

0 comments on commit aa653e2

Please sign in to comment.