File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ export const test3Start = async (): Promise<void> => {
15
15
} )
16
16
try {
17
17
await waitOn ( {
18
- resources : [ `http-get://localhost :${ PORT } /` ] ,
19
- delay : 1000 ,
20
- timeout : 480_000
18
+ resources : [ `http-get://127.0.0.1 :${ PORT } /` ] ,
19
+ delay : 10_000 ,
20
+ timeout : 600_000
21
21
} )
22
- terminate ( startSubprocess . pid ?? 0 , 'SIGINT' , { timeout : 10000 } , ( ) => {
22
+ terminate ( startSubprocess . pid ?? 0 , 'SIGINT' , { timeout : 10_000 } , ( ) => {
23
23
terminate ( startSubprocess ?. pid ?? 0 )
24
24
} )
25
- t . pass ( `Success: Leon is running on http://localhost :${ PORT } /` )
25
+ t . pass ( `Success: Leon is running on http://127.0.0.1 :${ PORT } /` )
26
26
} catch ( error : any ) {
27
- terminate ( startSubprocess . pid ?? 0 , 'SIGINT' , { timeout : 10000 } , ( ) => {
27
+ terminate ( startSubprocess . pid ?? 0 , 'SIGINT' , { timeout : 10_000 } , ( ) => {
28
28
terminate ( startSubprocess ?. pid ?? 0 )
29
29
} )
30
30
t . fail ( error )
You can’t perform that action at this time.
0 commit comments