DESCRIPTION

Fix cleanup on integration tests

If the tests are ignored based on cluster version number, the cleanup
ends up throwing NRE on some tests, so check if ctx is not null before calling
disconnect.

Change-Id: I9389db46305b162108b319958c0a4a2c50b3a9a2
Reviewed-on: http://review.couchbase.org/75839
Tested-by: Marques Ellis xxx@xxx.xxx
Reviewed-by: Natasha Sullivan xxx@xxx.xxx


COMMENTS

author: Marques Ellis
date: 2017-03-28 17:02:04.300000000

Change has been successfully cherry-picked as c9b60799fc49fd691eefbf9bd7b6b5663c884787 by Marques Ellis

-------------------------------------
