Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix close connection call browser process controller #3107

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

pepone
Copy link
Member

@pepone pepone commented Nov 8, 2024

Fixes for JavaScript browser tests.

@pepone pepone requested a review from externl November 8, 2024 15:10
@@ -52,12 +52,11 @@ class ProcessI extends Test.Common.Process {
}

class ProcessControllerI extends Test.Common.BrowserProcessController {
constructor(clientOutput, serverOutput, useWorker, scripts) {
constructor(clientOutput, serverOutput, useWorker) {
Copy link
Member Author

Choose a reason for hiding this comment

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

scripts was no longer used, a left over from the 3.7 setup.

@@ -114,12 +113,12 @@ class ProcessControllerI extends Test.Common.BrowserProcessController {
}

redirect(url, current) {
current.con.close(Ice.ConnectionClose.Gracefully);
current.con.close();
Copy link
Member Author

Choose a reason for hiding this comment

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

We forget to fix this when we remove ConnectionClose enum, browser tests has been broken for a while.

Would be worth to investigate if we can run them in CI.

@pepone pepone merged commit 5a942d6 into zeroc-ice:main Nov 8, 2024
19 checks passed
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