File tree Expand file tree Collapse file tree 2 files changed +1
-44
lines changed Expand file tree Collapse file tree 2 files changed +1
-44
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import * as uuidv4 from 'uuid/v4';
55import platforms from './platforms' ;
66import deployers from './deployers' ;
77import * as kubectl from '../helpers/kubectl' ;
8- import * as waiters from './waiters' ;
98
109const testPlatform = process . env [ 'TEST_PLATFORM' ] || 'kind' ;
1110const createCluster = process . env [ 'CREATE_CLUSTER' ] === 'true' ;
@@ -101,7 +100,7 @@ export async function deployMonitor(): Promise<string> {
101100 integrationId ,
102101 deploymentImageOptions ,
103102 ) ;
104- await waiters . waitForMonitorToBeReady ( ) ;
103+ await kubectl . waitForDeployment ( 'snyk-monitor' , 'snyk-monitor' ) ;
105104 console . log ( `Deployed the snyk-monitor with integration ID ${ integrationId } ` ) ;
106105 return integrationId ;
107106 } catch ( err ) {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments