I’m stuck on Stage #AT7 and I think there’s a bug in the testing code.
The process is running in background, I can look up the pid in ps.
My shell:
$ sleep 15000 &
[1] 90531
Bash:
$ ps aux | grep 90531
dom 90531 0.0 0.0 5572 2140 pts/3 S+ 21:57 0:00 sleep 15000
dom 90536 0.0 0.0 6520 2388 pts/0 S+ 21:57 0:00 grep --color=always 90531
It is correctly running in background. Yet, the test fails here:
[tester::#AT7] Running tests for Stage #AT7 (Background Jobs - Starting background jobs)
[tester::#AT7] Running ./your_program.sh
[your-program] $ sleep 500 &
[your-program] [1] 44
[tester::#AT7] Could not find process with PID 44
[tester::#AT7] Test failed
I think the 500 ms sleep may be too short and my machine too slow, so the process terminates before the test has had a chance to verify it’s running. Just a guess.