This is a second approach to fixing issue #45, since the last attempt got rather messy. This gets the whole thing into a single commit with one added method on BaseSearch, and a couple of simple tests.
I ran into one issue with the MLT functional tests, which weren't cleaning up after themselves, so I tweaked that too. Otherwise, I think this is a good, clean solution.
(As an aside, this is nearly identical to what we've been using in production for a few weeks.)
FYI, the failing tests are related to the timeout error and httpbin. I didn't touch those tests, so I suspect httpbin is having issues or something along those lines.
This is a second approach to fixing issue #45, since the last attempt got rather messy. This gets the whole thing into a single commit with one added method on
BaseSearch
, and a couple of simple tests.I ran into one issue with the MLT functional tests, which weren't cleaning up after themselves, so I tweaked that too. Otherwise, I think this is a good, clean solution.
(As an aside, this is nearly identical to what we've been using in production for a few weeks.)