why is this happening ?
sleep also needs to be a string
did that, didn’t work
Change command to args.
I get that error every time in the second mock exam. I’ve chalked it up to an issue with their verification script
@Mike K appears to be right. I’ve been unable to satisfy the script.
And if you try
command : ["sleep","4800"]
No combination seems to work.
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
ok thanks folks