Cook
Cook copied to clipboard
test-prepare-sandbox-publisher sometimes fails
Example:
FAIL in (test-prepare-sandbox-publisher) (sandbox.clj:490)
expected: (= {"task.host1" "/path/to/host1/sandbox"} (clojure.core/deref unprocessed-task-id->sandbox-atom))
actual: (not (= {"task.host1" "/path/to/host1/sandbox"} {}))
Has this failed for you recently?
I tried the following in my repl:
(deftest test-prepare-sandbox-publisher
(time
(dotimes [_ 1000]
...)))
and got:
Running cook.test.mesos.sandbox/test-prepare-sandbox-publisher
"Elapsed time: 33687.950722 msecs"
Ran 1 test containing 2000 assertions.
No failures.
Not sure. I'm fine with re-enabling it if you want
It is already enabled, maybe it got fixed during our last round of changed with the syncer.