Skip to content

Commit 00638f3

Browse files
committed
chore: don't test sing-mux over grpc
1 parent 2222d0e commit 00638f3

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

listener/inbound/trojan_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ func testInboundTrojan(t *testing.T, inboundOptions inbound.TrojanOption, outbou
5252

5353
tunnel.DoTest(t, out)
5454

55+
if outboundOptions.Network == "grpc" { // don't test sing-mux over grpc
56+
return
57+
}
5558
testSingMux(t, tunnel, out)
5659
}
5760

listener/inbound/vless_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ func testInboundVless(t *testing.T, inboundOptions inbound.VlessOption, outbound
5353

5454
tunnel.DoTest(t, out)
5555

56+
if outboundOptions.Network == "grpc" { // don't test sing-mux over grpc
57+
return
58+
}
5659
testSingMux(t, tunnel, out)
5760
}
5861

listener/inbound/vmess_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ func testInboundVMess(t *testing.T, inboundOptions inbound.VmessOption, outbound
5454

5555
tunnel.DoTest(t, out)
5656

57+
if outboundOptions.Network == "grpc" { // don't test sing-mux over grpc
58+
return
59+
}
5760
testSingMux(t, tunnel, out)
5861
}
5962

0 commit comments

Comments
 (0)