cloudant / nodejs-cloudant

Cloudant Node.js client library
Apache License 2.0
255 stars 90 forks source link

Investigate failing tests #467

Closed emlaver closed 2 years ago

emlaver commented 2 years ago

Please read these guidelines before opening an issue.

Bug Description

2. What you expected to happen

All tests pass in Jenkins.

3. What actually happened

Retry plugin tests failing in Jenkins: https://cloudant-sdks-jenkins.swg-devops.com/blue/organizations/jenkins/Main%2Fnodejs-cloudant/detail/master/35/pipeline

Environment details

Tests pass locally.

ricellis commented 2 years ago

I think this is caused by the change of node from 16 to 17 - there was a behaviour change in 16 that means there are extra error events compared to 12 and 14 but we aren't handling 17 in the tests. Given the EOL of nodejs-cloudant precedes the EOL of Node 16 and the arrival of Node 18 LTS I'm going to change the test branches to be 12 14 and 16 instead.