The latter might take awhile. See Florida v Harris (2013) [0]
> Harris ... challenge[d] the dog's reliability, backed by data that asserts that on average, up to 80% of a dog's alerts are wrong.
> The Court unanimously held that if a bona fide organization has certified a dog after testing his reliability in a controlled setting, or if the dog has recently and successfully completed a training program that evaluated his proficiency, a court can presume (subject to any conflicting evidence offered) that the dog's alert provides probable cause to search, using a "totality-of-the-circumstances" approach.