I don't think the unittests' elasticsearch instance will ever take more than 2 seconds to return, but I don't mind changing that. It could be error-prone if one day several elasticsearch tests run in parallel.