Skip to content

Commit 027fb3e

Browse files
Merge pull request #1138 from snyk/test/fix-openshift-integration-tests
test: allow follow redirects when downloading oc binary
2 parents 70043aa + 3c4a0b4 commit 027fb3e

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)