ptime before = microsec_clock::local_time();
b.setValue(123.0); // Set it to a random value and record the time.
- // Allow a bit of imprecision. This test allows 50ms. That should be ok,
+ // Allow a bit of imprecision. This test allows 500ms. That should be ok,
// when running on virtual machines.
- ptime after = before + millisec::time_duration(0,0,0,50);
+ ptime after = before + milliseconds(500);
// Now wait some time. We want to confirm that the timestamp recorded is the
// time the observation took place, not current time.