kudobuilder/kuttl

Command.Script is ignored when creating error messages

porridge opened this issue · 0 comments

What happened:

My test using a command with script: failed and kuttl produced this unhelpful message:

 command "" exceeded 72 sec timeout, context deadline exceeded

What you expected to happen:

The error message should mention the content of script: somehow if command: was not provided.

How to reproduce it (as minimally and precisely as possible):

Use a step such as:

apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- script: make fail

Anything else we need to know?:

A workaround might be to use command: instead, but this is tricky if one wants to use shell syntax.