How long do you hold

If you’re in a hurry and can’t test in the morning how long do you hold your pee