@@ -75,8 +75,9 @@ test.describe.serial('Helm Deployment Test', () => {
75
75
}
76
76
} ) ;
77
77
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' ) ;
80
81
81
82
expect ( helmInstall ) . toContain ( 'STATUS: deployed' ) ;
82
83
} ) ;
@@ -93,7 +94,7 @@ test.describe.serial('Helm Deployment Test', () => {
93
94
expect ( podName ) . not . toBe ( '' ) ;
94
95
// Check if the app is running
95
96
const checkAppStatus = await kubectl ( 'exec' , '--namespace' , 'default' ,
96
- podName , '--' , 'curl' , '--fail' , `${ nodeIpAddress } :${ nodePortNumber } ` ) ;
97
+ podName , '--' , 'curl' , '--verbose' , '-- fail', `${ nodeIpAddress } :${ nodePortNumber } ` ) ;
97
98
98
99
expect ( checkAppStatus ) . toContain ( 'Welcome to nginx!' ) ;
99
100
} ) ;
0 commit comments