Skip to content

Return of web socket tests#117

Closed
tukanos wants to merge 769 commits intoGsDevKit:gs_masterfrom
tukanos:ReturnOfWebSocketTests
Closed

Return of web socket tests#117
tukanos wants to merge 769 commits intoGsDevKit:gs_masterfrom
tukanos:ReturnOfWebSocketTests

Conversation

@tukanos
Copy link

@tukanos tukanos commented Feb 13, 2026

In this patch I'm adding methods (also comments) to make it clear that these tests need to be run in the correct context.

I'm also activating test: testEchoSecureWebSocketsDotOrg which was deactivated due to https://github.com/GsDevKit/zinc/issues/96. The issue was/is that webserver.org have disabled the plain text ws:// protocol and support only the secure version of it wss://.

I have removed the code that skips the tests and added a comment for the ws:// protocol explaining the situation.

Patrik added 30 commits November 21, 2025 09:25
Classes had to be split into each environment test package even thou the classes are very similar
This reverts commit e29e827.
Part of zinc already loaded into Globals dictionary we have get all the
files back and move the code from the -gemstone- package into .v37
package.  Otherwise we would get a conflict between Zinc version in
Globals and UserGlobals.
The class is identical to what is in -Core package, but in GemStone
in must be as extension since the class has been already loaded into
Globals dictionary.
The class inheritance tree is different in Pharo and GemStone. Must
adjust for that.
Patrik added 29 commits January 16, 2026 15:22
Adding also a test which tests its functionality
The reason for reverting is presence of Announcements repository
which uses the Pharo functionality in GemStone.  It is much more
complete that my patch.

This reverts commit 7608a8e.
This bug/race condition occurred when waiting for data and connection
got closed in meantime.  readyForRead was usually nil as the connection
closed which then created the condition.
@tukanos tukanos closed this Feb 13, 2026
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.

1 participant