We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36e90c5 commit b78ec24Copy full SHA for b78ec24
scalardb/src/scalardb/db/cluster.clj
@@ -254,7 +254,11 @@
254
(defn- running-pods?
255
"Check if nodes are running."
256
[test prefix num]
257
- (info "DEBUG:" (-> test :nodes first (c/on (c/exec :kubectl :get :pods))))
+ (try
258
+ (info "DEBUG:" (-> test :nodes first (c/on (c/exec :kubectl :describe :pod "cassandra-scalardb-cluster-0"))))
259
+ (info "DEBUG:" (-> test :nodes first (c/on (c/exec :kubectl :describe :pod "cassandra-scalardb-cluster-1"))))
260
+ (info "DEBUG:" (-> test :nodes first (c/on (c/exec :kubectl :describe :pod "cassandra-scalardb-cluster-2"))))
261
+ (catch Exception _ nil))
262
(-> test
263
:nodes
264
first
0 commit comments