Migrate Socket.IO from Version 2 to Version 3 🚀 (#6152)

* feat :migrate socket.io 2 -> 3

* fix: backend test

* fix: ts error

* rm

* reset the test timeout

* Updated cli client.

* Updated lock file.

* Use updated load tester.

---------

Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
This commit is contained in:
Hossein Marzban 2024-02-18 00:06:26 +03:30 committed by GitHub
parent 47f0113fd7
commit b2be2ca714
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 265 additions and 321 deletions

View file

@ -46,7 +46,7 @@ jobs:
run: src/bin/installDeps.sh
-
name: Install etherpad-load-test
run: sudo npm install -g etherpad-load-test
run: sudo npm install -g etherpad-load-test-socket-io
-
name: Run load test
run: src/tests/frontend/travis/runnerLoadTest.sh 25 50
@ -87,7 +87,7 @@ jobs:
run: pnpm config set auto-install-peers false
-
name: Install etherpad-load-test
run: pnpm install -g etherpad-load-test
run: pnpm install -g etherpad-load-test-socket-io
-
name: Install etherpad plugins
# The --legacy-peer-deps flag is required to work around a bug in npm v7:
@ -161,7 +161,7 @@ jobs:
run: src/bin/installDeps.sh
-
name: Install etherpad-load-test
run: sudo npm install -g etherpad-load-test
run: sudo npm install -g etherpad-load-test-socket-io
-
name: Run load test
run: src/tests/frontend/travis/runnerLoadTest.sh 5000 5