Fix for viewops+warmup tests failures

Change-Id: Ibc98aadea462277189b2a6e6c12e74b5f8d5f4df
Reviewed-on: http://review.couchbase.org/33608
Reviewed-by: Meenakshi Goel <meenakshi.goel@globallogic.com>
Tested-by: Meenakshi Goel <meenakshi.goel@globallogic.com>