FYI: it is no longer legal to make you wait for the drug dog in the United States.
They must conclude the stop in a reasonable amount of time, without delay, and if the drug dog hasn’t arrived in the time that it takes them to write you a ticket, you can not be detained any longer.