We consider the sequential testing of two simple hypotheses for the drift of a Brownian motion when each observation of the underlying process is associated with a positive cost. In this setting where continuous monitoring of the underlying process is not feasible, the question is not only whether to stop or to continue at a given observation time but also, if continuing, how to distribute the next observation time. Adopting a Bayesian methodology, we show that the value function can be characterized as the unique fixed point of an associated operator and that it can be constructed using an iterative scheme. Moreover, the optimal sequential distribution of observation times can be described in terms of the fixed point.