Skip to content

Commit b021057

Browse files
authored
Merge pull request #3209 from rancher-sandbox/fix-e2e-1.6.1
E2E: Helm: Pin bitnami/nginx version.
2 parents 5a34353 + 8e74ea8 commit b021057

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

e2e/helm.e2e.spec.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ test.describe.serial('Helm Deployment Test', () => {
7575
}
7676
});
7777
test('should install helm sample application and check if it was deployed', async() => {
78-
const helmInstall = await helm('upgrade', '--install', '--wait', '--timeout=20m', 'nginx-sample',
79-
'bitnami/nginx', '--set=service.type=NodePort', '--set=volumePermissions.enabled=true');
78+
const helmInstall = await helm('upgrade', '--install', '--wait', '--timeout=20m',
79+
'--version=13.2.9', 'nginx-sample', 'bitnami/nginx',
80+
'--set=service.type=NodePort', '--set=volumePermissions.enabled=true');
8081

8182
expect(helmInstall).toContain('STATUS: deployed');
8283
});
@@ -93,7 +94,7 @@ test.describe.serial('Helm Deployment Test', () => {
9394
expect(podName).not.toBe('');
9495
// Check if the app is running
9596
const checkAppStatus = await kubectl('exec', '--namespace', 'default',
96-
podName, '--', 'curl', '--fail', `${ nodeIpAddress }:${ nodePortNumber }`);
97+
podName, '--', 'curl', '--verbose', '--fail', `${ nodeIpAddress }:${ nodePortNumber }`);
9798

9899
expect(checkAppStatus).toContain('Welcome to nginx!');
99100
});

0 commit comments

Comments
 (0)