Open AlexDaniel opened 5 years ago
Issue https://github.com/robertlemmen/perl6-cache-async/issues/1
I'll close the issue for now, but if anyone sees these flapping again then please let me know and I'll try to tune them further.
@robertlemmen well, they seem to be flapping :)
ah darn. I don't really have a good strategy to test these inherently time-sensitive things...
sleep .06;
That's a really small amount to sleep for. Can you bump that to say 0.25s? That would take around 2 seconds to complete, but that's gonna work every single time. If you're worried about your tests taking way too long, parallelize them.
yeah, that's what I am going to do. I am not reallly worried about overall test execution time yet
Using https://github.com/FCO/test-time should help. Alternatively, https://perl6advent.wordpress.com/2016/12/17/testing-in-virtual-time/ <- here is the original module, I think.
I have made a version 0.1.6 with less strict timings, and also made the 09-jitter test run multiple times and work an average. if this is not enough to make the tests reliable, I'll try test-time, which looks really awesome
is this still an issue with the recent changes to cache::async? if so I would have another stab at it as discussed above, if not then I would like to close the other issue as well...
@robertlemmen feel free. If it's still an issue, a new ticket will be created automatically. If it's resolved, this ticket will be closed automatically if you don't close it yourself.
Module Cache::Async cannot be installed (
Flapper
), perhaps it has some failing tests.works for me
label, leave a comment saying that it works for you and mention any details that you feel are important.native dependency
label, describe what you did to install it and ensure that same instructions are present in the README file of the module (otherwise submit a pull request). Also try to update this wiki page.PR sent
label.failing dependency
label and write a comment explaining the situation. Feel free to work on the corresponding ticket for the failing dependency.If you can't self-assign yourself or attach a label, please let us know on #perl6 channel on freenode or just leave a comment here. We will try to give you privileges as fast as possible.
Output:
Ping @robertlemmen
Previous ticket: #556