Don't exhaust view iterator until done flag is set
Don't exhaust view iterator until done flag is set

Otherwise we might not get all metadata, causing some tests to fail at
times

Change-Id: I67bf4dc185162d8dc985ca7184535d1c31d5188c
Reviewed-on: http://review.couchbase.org/29715
Tested-by: Mark Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>
Reviewed-by: Volker Mische <fb414f8ac0dbbf87663550ae4ef5fc95b1041941@gmail.com>

mnunberg/couchbase-python-client,couchbase/couchbase-python-client,mnunberg/couchbase-python-client,couchbase/couchbase-python-client