Skip to content

Conversation

@bigmontz
Copy link
Contributor

@bigmontz bigmontz commented Nov 14, 2022

The receive timeout was not being clearer when channel get closed.
With the timeout running, receive timeouts events can still be notified to the existing observers.
This was causing some tests failing and possible issues in production code.

This bug was found in the test package/neo4j-driver/test/result.test.js (should handle missing onCompleted). This test was calling done twice because of a late failing coming to the observer.

Node channels are not affected by this error since its timeout implementation is controlled to the socket.

@bigmontz bigmontz force-pushed the 5.x-remove-temporal-test-flakyness branch 3 times, most recently from 2730056 to 909e4c4 Compare November 17, 2022 09:29
The receive timeout was not being clearer when channel get closed.
With the timeout running, receive timeouts events can still be notified to the existing observers.
This was causing some tests failing and possibile issues in production code.
@bigmontz bigmontz force-pushed the 5.x-remove-temporal-test-flakyness branch from 909e4c4 to f00ca69 Compare November 17, 2022 10:25
@bigmontz bigmontz changed the title Remove random temporal types test flakynes Clear receive timeout when close browser and Deno channels Nov 17, 2022
@robsdedude robsdedude self-requested a review November 18, 2022 08:31
Copy link
Member

@robsdedude robsdedude left a comment

Choose a reason for hiding this comment

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

⏱️ 🔨

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants