freactive.core icon indicating copy to clipboard operation
freactive.core copied to clipboard

tests appear susceptible to speed variation

Open joinr opened this issue 7 years ago • 0 comments

During my updates to modernize fx-clj to work with clojure 1.9, I needed to update freactive.core . Fixes were minor, but I ran tests anyways, which failed! However, when I manually tested at the repl (identical to test1), it worked! Also, when I inserted 16ms delay into test1 (after swap!) to allow values to propogate, it worked! Then test2 failed. I'm thinking the data propagation is not flowing fast enough, or the updates should be synchronized before the expected result is checked in tests. In other words, on my hardware, it appears possible to deref before the result is ready.

joinr avatar May 22 '18 10:05 joinr