aboutsummaryrefslogtreecommitdiff
path: root/nginx/t/js_fetch_timeout.t
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2025-05-19 18:53:00 -0700
committerDmitry Volyntsev <xeioexception@gmail.com>2025-05-22 16:54:29 -0700
commita340ad8f7d9bd5ee1bfb7e6d76f56e845fe002f3 (patch)
tree099959da8f86519d1e1b9310c6627c1f60e13097 /nginx/t/js_fetch_timeout.t
parent95ea07b6553227638c9727f52dae99e94b08962a (diff)
downloadnjs-a340ad8f7d9bd5ee1bfb7e6d76f56e845fe002f3.tar.gz
njs-a340ad8f7d9bd5ee1bfb7e6d76f56e845fe002f3.zip
Tests: removed leftover engine checks.
Diffstat (limited to 'nginx/t/js_fetch_timeout.t')
-rw-r--r--nginx/t/js_fetch_timeout.t10
1 files changed, 1 insertions, 9 deletions
diff --git a/nginx/t/js_fetch_timeout.t b/nginx/t/js_fetch_timeout.t
index ab1ba24a..2ca1510f 100644
--- a/nginx/t/js_fetch_timeout.t
+++ b/nginx/t/js_fetch_timeout.t
@@ -47,10 +47,6 @@ http {
js_content test.njs;
}
- location /engine {
- js_content test.engine;
- }
-
location /normal_timeout {
js_content test.timeout_test;
}
@@ -84,10 +80,6 @@ $t->write_file('test.js', <<EOF);
r.return(200, njs.version);
}
- function engine(r) {
- r.return(200, njs.engine);
- }
-
async function timeout_test(r) {
let rs = await Promise.allSettled([
'http://127.0.0.1:$p1/normal_reply',
@@ -110,7 +102,7 @@ $t->write_file('test.js', <<EOF);
setTimeout((r) => { r.return(200); }, 250, r, 0);
}
- export default {njs: test_njs, engine, timeout_test, normal_reply,
+ export default {njs: test_njs, timeout_test, normal_reply,
delayed_reply};
EOF