MB-21178: In 'test_dcp_producer_stream_backfill_no_value' ENOMEM = ETMPFAIL 14/69214/2
authorManu Dhundi <manu@couchbase.com>
Tue, 25 Oct 2016 20:51:49 +0000 (13:51 -0700)
committerManu Dhundi <manu@couchbase.com>
Tue, 25 Oct 2016 23:23:06 +0000 (23:23 +0000)
Change-Id: I38d59b0618c435dd984b5af68b4c8b9c57345133
Reviewed-on: http://review.couchbase.org/69214
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
tests/ep_testsuite_dcp.cc

index 8fa647b..52b8fe6 100644 (file)
@@ -2433,6 +2433,9 @@ static enum test_result test_dcp_producer_stream_backfill_no_value(
 
         case ENGINE_TMPFAIL:
             // TMPFAIL means we getting below 100%; retry.
+        case ENGINE_ENOMEM:
+            // We can treat ENOMEMs as TMPFAIL, that is, hope the memory usage
+            // will go down. If not, the test will time out eventually.
             break;
 
         default: