mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: helm golden file test log output on failure (#12661)
Debugging this is hard without the actual helm error
This commit is contained in:
@ -136,7 +136,9 @@ func TestUpdateGoldenFiles(t *testing.T) {
|
||||
|
||||
valuesPath := tc.valuesFilePath()
|
||||
templateOutput, err := runHelmTemplate(t, helmPath, "..", valuesPath)
|
||||
|
||||
if err != nil {
|
||||
t.Logf("Command output:\n%s", templateOutput)
|
||||
}
|
||||
require.NoError(t, err, "failed to run `helm template -f %q`", valuesPath)
|
||||
|
||||
goldenFilePath := tc.goldenFilePath()
|
||||
|
Reference in New Issue
Block a user