Skip to content

Commit 3c4a0b4

Browse files
committed
test: allow follow redirects when downloadin oc binary
1 parent 70043aa commit 3c4a0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/setup/platforms/openshift4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export async function setupTester(): Promise<void> {
3232
OPENSHIFT_CLI_VERSION,
3333
);
3434
console.log('Downloading OpenShift CLI...');
35-
const response = await needle('get', downloadUrl);
35+
const response = await needle('get', downloadUrl, { follow_max: 5 });
3636
await extractOpenShiftCli(response.body);
3737
console.log('Downloaded OpenShift CLI!');
3838
}

0 commit comments

Comments
 (0)