Skip to content

Commit

Permalink
Print api logs on smoke test failures
Browse files Browse the repository at this point in the history
Co-authored-by: Georgi Sabev <[email protected]>
  • Loading branch information
danail-branekov and georgethebeatle committed Dec 5, 2023
1 parent 3ab1cb8 commit 6ddd7fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/smoke/smoke_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ func TestSmoke(t *testing.T) {
fail_handler.Always: func(config *rest.Config, _ string) {
printCfApp(config)
fail_handler.PrintPodsLogs(config, []fail_handler.PodContainerDescriptor{
{
Namespace: "korifi",
LabelKey: "app",
LabelValue: "korifi-api",
Container: "korifi-api",
},
{
Namespace: "korifi",
LabelKey: "app",
Expand Down

0 comments on commit 6ddd7fe

Please sign in to comment.