Skip to content

Commit c23da2f

Browse files
committedOct 7, 2023
tt2
1 parent 5b55a4d commit c23da2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎test/e2e/cli/start-app.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ should 'should have started command' 'online' 1
1515
should 'should have not been restarted' 'restart_time: 0' 1
1616

1717
cat test.log | grep "undefined" &> /dev/null
18+
sleep 1
1819
spec "should have printed undefined env var"
1920

2021
TEST='ok' $pm2 restart 0 --update-env
2122
cat test.log | grep "ok" &> /dev/null
2223

24+
sleep 1
2325
should 'should have started command' 'online' 1
2426
should 'should have not been restarted' 'restart_time: 1' 1
2527
spec "should have printed undefined env var"
@@ -40,6 +42,6 @@ spec "should have printed the test_val"
4042
#
4143
cd $file_path/c-compile
4244
$pm2 start "cc hello.c; ./a.out" -l c-log.log --merge-logs
43-
sleep 1
45+
sleep 2
4446
cat c-log.log | grep "Hello World" &> /dev/null
4547
spec "should have printed undefined env var"

0 commit comments

Comments
 (0)
Please sign in to comment.