Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 03ce0be

Browse files
committed
Add unit test for QuicTransportServer.
1 parent 6e973c9 commit 03ce0be

File tree

6 files changed

+1284
-8
lines changed

6 files changed

+1284
-8
lines changed

source/agent/quic/dist.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
"webtransport/quicTransportServer.js",
3535
"webtransport/quicTransportStreamPipeline.js"
3636
],
37+
"quic/webtransport/test": [
38+
"webtransport/test/quicTransportServerTest.js"
39+
],
3740
"cert": [
3841
"../../../cert/.owt.keystore"
39-
],
40-
"data_access": [
41-
"../../data_access/*"
4242
]
4343
}
4444
},

source/agent/quic/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = function (rpcClient, selfRpcId, parentRpcId, clusterWorkerIP) {
4141
rpcClient.remoteCast(controller, 'onSessionProgress', [sessionId, direction, status]);
4242
};
4343

44-
const quicTransportServer = new QuicTransportServer();
44+
const quicTransportServer = new QuicTransportServer(addon);
4545
quicTransportServer.start();
4646
quicTransportServer.on('streamadded', (stream) => {
4747
const conn = connections.getConnection(stream.contentSessionId);

0 commit comments

Comments
 (0)