freactive.core
freactive.core copied to clipboard
tests appear susceptible to speed variation
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.