Skip to content

AVRO-3171 JS: fix test failures on Node.js 16#1354

Merged
RyanSkraba merged 1 commit intoapache:masterfrom
martin-g:avro-3171-fix-node.js-16
Oct 13, 2021
Merged

AVRO-3171 JS: fix test failures on Node.js 16#1354
RyanSkraba merged 1 commit intoapache:masterfrom
martin-g:avro-3171-fix-node.js-16

Conversation

@martin-g
Copy link
Copy Markdown
Member

@martin-g martin-g commented Oct 6, 2021

Add Node.js to the GitHub Actions workflow

Jira

Tests

Commits

  • My commits all reference Jira issues in their subject lines.

Add Node.js to the GitHub Actions workflow
} else if (this._empty) {
this.emit('error', new Error('no message decoded'));
} else {
this.emit('finish');
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the issue with Node.js 16 but it is a mystery to me why finish event is not emitted automatically on the Transform stream after the reabable.end().

@martin-g
Copy link
Copy Markdown
Member Author

martin-g commented Oct 6, 2021

I've pinged Node.js devs about this issue: nodejs/node#39332 (comment)
Hopefully they will explain what is going wrong here.

@RyanSkraba
Copy link
Copy Markdown
Contributor

Thanks for the contribution!

@RyanSkraba RyanSkraba merged commit fb398e0 into apache:master Oct 13, 2021
RyanSkraba pushed a commit that referenced this pull request Oct 13, 2021
Add Node.js to the GitHub Actions workflow
@RyanSkraba
Copy link
Copy Markdown
Contributor

I've cherry-picked this into branch-1.11 so it should appear in the next 1.11.0 release candidate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants