Closed necrolyte2 closed 8 years ago
I can't recreate the problem locally. Can you?
I can get a warning on my home PC (but not a failure). I wonder if this is a computing speed problem in Travis. I think we can make it faster. I'll ask on IRC if I can't figure it out.
Sorry for the late response. Ya, I don't get the error on my machine. I suspect you are correct about the speed.
I would hate to have it ignore the warning, but I'm wondering if the issue is just simply because I'm not correctly building the strategy.
Performance info: http://www.drmaciver.com/2015/07/notes-on-hypothesis-performance-tuning/ BTW hypothesis doesn't support 2.6 anymore edit: another blogpost: http://www.drmaciver.com/2015/08/how-to-generate-a-list-plus-an-element-of-it/
I fixed the speed problem but it's failing because of 2.6 support.
FYI, I think the reason the code was slow before, is because
st.text()
had no upper bound andst.text()
strategy was being fed into a second st.text
as the alphabet. [maybe? not sure]st.text
also had no upper bound in size. I fixed the build in #5. So I will merge that instead.
I assume the way I'm ensuring duplicate id's is wrong, but it was the only way I could get it to work https://travis-ci.org/VDBWRAIR/biotest/jobs/109926611#L474
Thoughts? @averagehat