test: fix the intermittent issue with connection (#2827)
test: fix the intermittent issue with connection (#2827)

* make sure the connection opened before replicator is started
couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios