This is an automated email from the ASF dual-hosted git repository.
dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/master by this push:
new b6491f3 AVRO-3172 Since there is no read on the Readable there is no
'end' event
b6491f3 is described below
commit b6491f3f9d196867f52393985d849af54f245fbd
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Fri Sep 10 14:51:39 2021 +0300
AVRO-3172 Since there is no read on the Readable there is no 'end' event
Calling writeable.end() emits 'finish' event
---
lang/js/test/test_files.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/js/test/test_files.js b/lang/js/test/test_files.js
index 1ce1431..4586dfd 100644
--- a/lang/js/test/test_files.js
+++ b/lang/js/test/test_files.js
@@ -271,7 +271,7 @@ suite('files', function () {
var chunks = [];
var encoder = new BlockEncoder(t)
.on('data', function (chunk) { chunks.push(chunk); })
- .on('end', function () {
+ .on('finish', function () {
assert.equal(chunks.length, 0);
cb();
});