We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1441c8 commit 15637c6Copy full SHA for 15637c6
scripts/cts/testServer/timeout.ts
@@ -104,12 +104,9 @@ function addRoutes(app: express.Express): void {
104
});
105
106
app.get('/1/long-wait', (req, res) => {
107
- setTimeout(
108
- () => {
109
- res.json({ message: 'OK' });
110
- },
111
- parseInt(req.query.ms?.toString() || '0'),
112
- );
+ setTimeout(() => {
+ res.json({ message: 'OK' });
+ }, 23000);
113
114
}
115
tests/CTS/client/ingestion/api.json
@@ -98,7 +98,7 @@
98
"type": "method",
99
"method": "customGet",
100
"parameters": {
101
- "path": "1/long-wait?ms=23000"
+ "path": "1/long-wait"
102
},
103
"expected": {
"type": "response",
0 commit comments