Fix flaky limits test. 3/head
authorNick Vatamaniuc <vatamane@gmail.com>
Wed, 7 Oct 2015 17:09:33 +0000 (13:09 -0400)
committerNick Vatamaniuc <vatamane@gmail.com>
Wed, 7 Oct 2015 17:09:33 +0000 (13:09 -0400)
commitc05488c8b1d7ec1c3554a828e0c9bf2888932ed6
treee8c05b9a6fc8c2f3a547c2cd0ef3adc664ae6e7d
parent09128046ae9fbabfe1d70cb406aca878f6ea1dd5
Fix flaky limits test.

 In the limits test we check statistics with ets:info right after
 eviction. Sometimes ets:info does not update immediately.

 On first failure, delay for 1ms, then try again.
test/ets_lru_test.erl