test: Fix workaround for buggy docker logging
test: Fix workaround for buggy docker logging

Docker sometimes truncates the last line of logging output.
Lets make our tests more immune to this.

Closes #4611
Reviewed-by: Dominik Perpeet <f7830b2723a5db4fc185058b06cfab4b89a38da9@redhat.com>

Scribery/cockpit,vanloswang/cockpit,larsu/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,garrett/cockpit,andreasn/cockpit,petervo/cockpit,martinpitt/cockpit,sgallagher/cockpit,mvollmer/cockpit,larsu/cockpit,deryni/cockpit,stefwalter/cockpit,martinpitt/cockpit,deryni/cockpit,xhad/cockpit,Scribery/cockpit,garrett/cockpit,mareklibra/cockpit,mvollmer/cockpit,larsu/cockpit,Scribery/cockpit,harishanand95/cockpit,mareklibra/cockpit,arilivigni/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,Scribery/cockpit,andreasn/cockpit,petervo/cockpit,harishanand95/cockpit,andreasn/cockpit,cockpit-project/cockpit,larskarlitski/cockpit,martinpitt/cockpit,petervo/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,michalskrivanek/cockpit,michalskrivanek/cockpit,harishanand95/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,larskarlitski/cockpit,deryni/cockpit,cockpit-project/cockpit,dperpeet/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,garrett/cockpit,dperpeet/cockpit,xhad/cockpit,vanloswang/cockpit,mareklibra/cockpit,xhad/cockpit,michalskrivanek/cockpit,harishanand95/cockpit,dperpeet/cockpit,sgallagher/cockpit,harishanand95/cockpit,vanloswang/cockpit,xhad/cockpit,stefwalter/cockpit,vanloswang/cockpit,andreasn/cockpit,sgallagher/cockpit,andreasn/cockpit,larsu/cockpit,garrett/cockpit,sgallagher/cockpit,stefwalter/cockpit,Scribery/cockpit,larsu/cockpit,larskarlitski/cockpit,deryni/cockpit,SotolitoLabs/cockpit,petervo/cockpit,arilivigni/cockpit,mvollmer/cockpit,andreasn/cockpit,Scribery/cockpit,andreasn/cockpit,cockpituous/cockpit,dperpeet/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,dperpeet/cockpit,michalskrivanek/cockpit,deryni/cockpit,mareklibra/cockpit,martinpitt/cockpit,larskarlitski/cockpit,cockpituous/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,mareklibra/cockpit,arilivigni/cockpit,harishanand95/cockpit,petervo/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,arilivigni/cockpit,sgallagher/cockpit,mareklibra/cockpit,vanloswang/cockpit,xhad/cockpit,Scribery/cockpit,garrett/cockpit,vanloswang/cockpit,cockpit-project/cockpit,larsu/cockpit,xhad/cockpit,stefwalter/cockpit,dperpeet/cockpit,arilivigni/cockpit,vanloswang/cockpit,mvollmer/cockpit,petervo/cockpit,michalskrivanek/cockpit,michalskrivanek/cockpit,deryni/cockpit,mareklibra/cockpit,dperpeet/cockpit,moraleslazaro/cockpit,xhad/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,martinpitt/cockpit,larskarlitski/cockpit,arilivigni/cockpit,cockpituous/cockpit,arilivigni/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,sgallagher/cockpit,petervo/cockpit,moraleslazaro/cockpit,deryni/cockpit,cockpituous/cockpit