Skip to content

Commit

Permalink
[FLINK-10465][tests] Do not fail if /etc/service does not exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
GJL committed Oct 9, 2018
1 parent a887b7f commit d376f1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flink-jepsen/src/jepsen/flink/utils.clj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
(ns jepsen.flink.utils
(:require [clojure.tools.logging :refer :all]
[jepsen
[control :as c]]
[control :as c]
[util :refer [meh]]]
[jepsen.os.debian :as debian]))

(defn retry
Expand Down Expand Up @@ -89,4 +90,4 @@
;; HACK:
;; Remove all symlinks in /etc/service except sshd.
;; This is only relevant when tests are run in Docker because there sshd is started using runit.
(c/exec :find (c/lit (str "/etc/service -maxdepth 1 -type l ! -name 'sshd' -delete")))))
(meh (c/exec :find (c/lit (str "/etc/service -maxdepth 1 -type l ! -name 'sshd' -delete"))))))

0 comments on commit d376f1e

Please sign in to comment.