Why is this happening?

aam:
why is this happening ?

Stijn Devogel:
sleep also needs to be a string

aam:
did that, didn’t work

runlevl4:
Change command to args.

Mike K:
I get that error every time in the second mock exam. I’ve chalked it up to an issue with their verification script

runlevl4:
@Mike K appears to be right. I’ve been unable to satisfy the script.

Stijn Devogel:
And if you try command : ["sleep","4800"]

runlevl4:
No combination seems to work.

Gino Palladino:
in my opinion your yaml is correct (mainly because it is exactly the same that is generated by imperative command) but the verification test script accept only :

command: ["/bin/sh", "-c", "sleep 4800"]

(you can see the test script commands in “Error details”). It’s a test verification script limitation as I can understand

aam:
ok thanks folks