Skip to content

Conversation

@dinooo13
Copy link
Contributor

Close open connections in tests to prevent them from looping in the async update.

Based on reactphp/socket#283

Ref: #77

@dinooo13
Copy link
ContributorAuthor

I think this should do it for the async update. What do you think?

Copy link
Contributor

@SimonFringsSimonFrings left a comment

Choose a reason for hiding this comment

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

@dinooo13 I tested this in my private fork together with your changes in #77 and the tests for PHP 8.1 and PHP 8.2 don't get stuck anymore 👍

I actually thought that this pull request would involve some bigger changes, that's why I suggested to open up an additional PR. I think this is good as it is, but if clue/reactphp-socks#110 involves the same amount of changes we can just add a second commit in there.

@SimonFringsSimonFrings added this to the v1.4.0 milestone Oct 13, 2022
@SimonFringsSimonFrings requested a review from clueOctober 13, 2022 10:54
@clueclue changed the title Close open connections in testsUpdate tests to close any server socketsOct 13, 2022
Copy link
Owner

@clueclue left a comment

Choose a reason for hiding this comment

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

@dinooo13 Thank you for looking into this, changes LGTM! 👍

@clueclue merged commit 847aab4 into clue:masterOct 13, 2022
@dinooo13
Copy link
ContributorAuthor

dinooo13 commented Oct 13, 2022

@dinooo13 I tested this in my private fork together with your changes in #77 and the tests for PHP 8.1 and PHP 8.2 don't get stuck anymore 👍

I actually thought that this pull request would involve some bigger changes, that's why I suggested to open up an additional PR. I think this is good as it is, but if clue/reactphp-socks#110 involves the same amount of changes we can just add a second commit in there.

In clue/reactphp-socks#110 it's quite a bit more so I think the additional PR is the way to go 👍

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@dinooo13@clue@SimonFrings