Cook icon indicating copy to clipboard operation
Cook copied to clipboard

test-prepare-sandbox-publisher sometimes fails

Open dposada opened this issue 6 years ago • 3 comments

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"} {}))

dposada avatar Feb 16 '18 22:02 dposada

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.

shamsimam avatar Mar 28 '18 15:03 shamsimam

Not sure. I'm fine with re-enabling it if you want

dposada avatar Mar 28 '18 16:03 dposada

It is already enabled, maybe it got fixed during our last round of changed with the syncer.

shamsimam avatar Mar 28 '18 17:03 shamsimam