Skip to content

Commit

Permalink
[FLINK-17687][tests] Collect log files before tearing down Mesos
Browse files Browse the repository at this point in the history
  • Loading branch information
GJL committed May 18, 2020
1 parent be8c02e commit 12d662c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flink-jepsen/src/jepsen/flink/mesos.clj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
[util :as util :refer [meh]]]
[jepsen.control.util :as cu]
[jepsen.os.debian :as debian]
[jepsen.flink.utils :as fu]
[jepsen.flink.utils :refer [create-supervised-service! stop-supervised-service!]]
[jepsen.flink.zookeeper :refer [zookeeper-uri]]))

Expand Down Expand Up @@ -195,4 +196,6 @@
(stop-marathon! test node))
db/LogFiles
(log-files [_ test node]
(if (cu/exists? log-dir) (cu/ls-full log-dir) []))))
(concat
(if (cu/exists? log-dir) (cu/ls-full log-dir) [])
(fu/find-files! slave-dir "*.log")))))

0 comments on commit 12d662c

Please sign in to comment.