Recently it was observed that the EMC unit tests were extremely slow taking on the order from 10 to 20 seconds to complete on individual tests. Tracing through the tests the culprits are the smis_common._find_storage_sync_sv_sv, smis_common._wait_for_job_complete.
We should probably have a cleaner way to do this anyway than a 10 second sleep up to 100 iterations; maybe an async handle to check or something along those lines, or even a scaling sleep factor like we've done in other places.
In terms of the unit tests, it's highly annoying that we spend as much time testing EMC as we do. We should definitely consider mocking this out, or making the sleep a variable that we can adjust somehow.
I think I have seen cases in Nova where they mock out time.sleep to sleep in tenths of a second instead of seconds. That could help the situation.