File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ export class ApiModel {
175
175
176
176
// After 30s, don't stop activating, but report an error if we're not done yet
177
177
let activationDone = false ;
178
- delay ( 30000 ) . then ( ( ) => {
178
+ delay ( 30000 , { unref : true } ) . then ( ( ) => {
179
179
if ( ! activationDone ) logError ( `Timeout activating ${ id } ` )
180
180
} ) ;
181
181
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ function testJavaBin(possibleJavaBin: string) {
119
119
]
120
120
) ,
121
121
// Time out permanently after 30 seconds - this only runs once max anyway
122
- delay ( 30000 ) . then ( ( ) => {
122
+ delay ( 30000 , { unref : true } ) . then ( ( ) => {
123
123
throw new Error ( `Java bin test for ${ possibleJavaBin } timed out` ) ;
124
124
} )
125
125
] ) ;
You can’t perform that action at this time.
0 commit comments