During the hydrogen breath test, which takes about 2 hours, you will be asked to drink a lactose-containing beverage. The beverage may cause cramping, bloating, gas, or diarrhea. Fifteen minutes after drinking the beverage, you will be instructed to blow up balloon-like bags every 15 minutes for two hours.