'Test get_all until a specific time.'

def test_worker_get_all_until(self):

    workers = self._create_workers(3, read_back=True)
    timestamp = workers[(-1)].updated_at
    time.sleep(0.1)
    self._create_workers(3)
    db_workers = db.worker_get_all(self.ctxt, until=timestamp)
    self._assertEqualListsOfObjects(workers, db_workers)
