In general, the test should be run for 7-14 days. The exact period is based on your audience -- the greater it is, the sooner you'll reach statistical significance.