Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.5.0
-
Untriaged
-
Yes
Description
Build: 6.5.0-2943 , failed between 6.5.0-2343 and 6.5.0-2360
Seeing that handler is reading binary data
./testrunner -i vikas-nodes.ini -t eventing.eventing_negative.EventingNegative.test_read_binary_data_from_the_function,nodes_init=1,services_init=kv:eventing:index:n1ql,dataset=default,groups=simple,reset_services=True,skip_cleanup=True
|
- Create handler code which reads binary docs (as per requirement we should not able to read binary data within handler code).
function OnUpdate(doc, meta) {
var doc_id = meta.id;
log('reading document from dst_bucket : ', doc_id);
dst_bucket[meta.id + "11111111"] = dst_bucket[doc_id];
}