Skip to content

Commit

Permalink
Fix for longhorn integration test
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <derek.nola@suse.com>
  • Loading branch information
dereknola committed Jun 9, 2023
1 parent 9c417f1 commit c1f9af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/longhorn/longhorn_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ var _ = AfterEach(func() {
})

var _ = AfterSuite(func() {
if !testutil.IsExistingServer() {
if !testutil.IsExistingServer() && server != nil {
if failed {
testutil.K3sSaveLog(server, false)
}
Expand Down

0 comments on commit c1f9af2

Please sign in to comment.