CBQE-1825: fix view compaction tests

Change-Id: Idff15662325679c05a0ffcead6c17a3af6eb8641
Reviewed-on: http://review.couchbase.org/31616
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>