sclorg / container-common-scripts

Apache License 2.0
20 stars 45 forks source link

Improve log debug #238

Closed hhorak closed 2 years ago

hhorak commented 2 years ago

By including timestamp, test duration, and a bit more separators in the test log, it should be easier to debug tests and read longer logs.

hhorak commented 2 years ago

[test]

hhorak commented 2 years ago

Example of usage of these changes: https://github.com/sclorg/redis-container/pull/105

hhorak commented 2 years ago

Another example: https://github.com/sclorg/varnish-container/pull/85

hhorak commented 2 years ago

[test]

hhorak commented 2 years ago

Another example of usage: https://github.com/sclorg/s2i-perl-container/pull/230

hhorak commented 2 years ago

[test]

hhorak commented 2 years ago

Does it make sense to have a test case for time functions?

I don't know, the functions seem pretty simple to me. Do you think we need it?

hhorak commented 2 years ago

[test]