Skip to content

Commit 15637c6

Browse files
committed
chore: hop
1 parent f1441c8 commit 15637c6

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

scripts/cts/testServer/timeout.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,9 @@ function addRoutes(app: express.Express): void {
104104
});
105105

106106
app.get('/1/long-wait', (req, res) => {
107-
setTimeout(
108-
() => {
109-
res.json({ message: 'OK' });
110-
},
111-
parseInt(req.query.ms?.toString() || '0'),
112-
);
107+
setTimeout(() => {
108+
res.json({ message: 'OK' });
109+
}, 23000);
113110
});
114111
}
115112

tests/CTS/client/ingestion/api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"type": "method",
9999
"method": "customGet",
100100
"parameters": {
101-
"path": "1/long-wait?ms=23000"
101+
"path": "1/long-wait"
102102
},
103103
"expected": {
104104
"type": "response",

0 commit comments

Comments
 (0)