aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/js/third_party/socket.io/socket.io-close.test.ts1
-rw-r--r--test/js/third_party/socket.io/socket.io-messaging-many.test.ts3
-rw-r--r--test/js/third_party/socket.io/socket.io-middleware.test.ts3
-rw-r--r--test/js/third_party/socket.io/socket.io-namespaces.test.ts3
-rw-r--r--test/js/third_party/socket.io/socket.io-server-attachment.test.ts3
-rw-r--r--test/js/third_party/socket.io/socket.io-socket-timeout.test.ts3
-rw-r--r--test/js/third_party/socket.io/socket.io-utility-methods.test.ts3
7 files changed, 13 insertions, 6 deletions
diff --git a/test/js/third_party/socket.io/socket.io-close.test.ts b/test/js/third_party/socket.io/socket.io-close.test.ts
index 97cad74d7..feac0fbad 100644
--- a/test/js/third_party/socket.io/socket.io-close.test.ts
+++ b/test/js/third_party/socket.io/socket.io-close.test.ts
@@ -6,6 +6,7 @@ import { createClient, getPort, success, fail, eioHandshake, eioPoll, eioPush }
import { Server } from "socket.io";
import { exec, ChildProcess } from "child_process";
+// Hanging tests are disabled because they cause the test suite to hang
describe("close", () => {
it.skip("should be able to close sio sending a srv", done => {
const httpServer = createServer().listen(0);
diff --git a/test/js/third_party/socket.io/socket.io-messaging-many.test.ts b/test/js/third_party/socket.io/socket.io-messaging-many.test.ts
index 24302ed5e..5e9776468 100644
--- a/test/js/third_party/socket.io/socket.io-messaging-many.test.ts
+++ b/test/js/third_party/socket.io/socket.io-messaging-many.test.ts
@@ -2,7 +2,8 @@ import { Server } from "socket.io";
import { describe, it, expect } from "bun:test";
import { createClient, createPartialDone, success, fail, waitFor } from "./support/util";
-describe("messaging many", () => {
+// Hanging tests are disabled because they cause the test suite to hang
+describe.skip("messaging many", () => {
it("emits to a namespace", done => {
const io = new Server(0);
const socket1 = createClient(io, "/", { multiplex: false });
diff --git a/test/js/third_party/socket.io/socket.io-middleware.test.ts b/test/js/third_party/socket.io/socket.io-middleware.test.ts
index 6b1d461e6..705d6154b 100644
--- a/test/js/third_party/socket.io/socket.io-middleware.test.ts
+++ b/test/js/third_party/socket.io/socket.io-middleware.test.ts
@@ -3,7 +3,8 @@ import { describe, it, expect } from "bun:test";
import { success, fail, createClient, createPartialDone } from "./support/util.ts";
-describe("middleware", () => {
+// Hanging tests are disabled because they cause the test suite to hang
+describe.skip("middleware", () => {
it.skip("should call functions", done => {
const io = new Server(0);
let timeout: Timer;
diff --git a/test/js/third_party/socket.io/socket.io-namespaces.test.ts b/test/js/third_party/socket.io/socket.io-namespaces.test.ts
index 306ebf66e..5dcbb68e0 100644
--- a/test/js/third_party/socket.io/socket.io-namespaces.test.ts
+++ b/test/js/third_party/socket.io/socket.io-namespaces.test.ts
@@ -3,7 +3,8 @@ import type { SocketId } from "socket.io-adapter";
import { Server, Namespace, Socket } from "socket.io";
import { success, fail, createClient, createPartialDone } from "./support/util.ts";
-describe("namespaces", () => {
+// Hanging tests are disabled because they cause the test suite to hang
+describe.skip("namespaces", () => {
it("should be accessible through .sockets", done => {
const io = new Server();
expect(io.sockets).toBeInstanceOf(Namespace);
diff --git a/test/js/third_party/socket.io/socket.io-server-attachment.test.ts b/test/js/third_party/socket.io/socket.io-server-attachment.test.ts
index 15398cdb1..9fcf3d93d 100644
--- a/test/js/third_party/socket.io/socket.io-server-attachment.test.ts
+++ b/test/js/third_party/socket.io/socket.io-server-attachment.test.ts
@@ -4,7 +4,8 @@ import request from "supertest";
import { getPort, success, fail } from "./support/util";
import { describe, it, expect } from "bun:test";
-describe("server attachment", () => {
+// Hanging tests are disabled because they cause the test suite to hang
+describe.skip("server attachment", () => {
describe("http.Server", () => {
const clientVersion = require("socket.io-client/package.json").version;
diff --git a/test/js/third_party/socket.io/socket.io-socket-timeout.test.ts b/test/js/third_party/socket.io/socket.io-socket-timeout.test.ts
index c69d80e28..f781f6b92 100644
--- a/test/js/third_party/socket.io/socket.io-socket-timeout.test.ts
+++ b/test/js/third_party/socket.io/socket.io-socket-timeout.test.ts
@@ -3,7 +3,8 @@ import { describe, it, expect } from "bun:test";
import { success, fail, createClient } from "./support/util.ts";
-describe("timeout", () => {
+// Hanging tests are disabled because they cause the test suite to hang
+describe.skip("timeout", () => {
it("should timeout if the client does not acknowledge the event", done => {
const io = new Server(0);
const client = createClient(io, "/");
diff --git a/test/js/third_party/socket.io/socket.io-utility-methods.test.ts b/test/js/third_party/socket.io/socket.io-utility-methods.test.ts
index 737fda433..584f56795 100644
--- a/test/js/third_party/socket.io/socket.io-utility-methods.test.ts
+++ b/test/js/third_party/socket.io/socket.io-utility-methods.test.ts
@@ -32,7 +32,8 @@ class DummyAdapter extends Adapter {
}
}
-describe("utility methods", () => {
+// Hanging tests are disabled because they cause the test suite to hang
+describe.skip("utility methods", () => {
let io: Server, clientSockets: ClientSocket[], serverSockets: Socket[];
beforeEach(done => {
const srv = createServer();