Fix service container log collection wait time

What does this MR do?

Waits a brief period before collecting service logs so that they have a chance to emit something useful.

Why was this MR needed?

Services that have no ports, or encounter some other problem, skip the port checking timeout delay, where they could produce some useful output.

We now detect this scenario, and wait either the remaining timeout time, or 10 seconds (whichever is smaller).

What's the best way to test this MR?

Test should pass!

What are the relevant issue numbers?

Merge request reports

Loading