]> git.kaiwu.me - njs.git/commit
Tests: adapt stream_js_preload_object.t to nginx changes.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 2 Apr 2024 06:13:24 +0000 (23:13 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 2 Apr 2024 06:13:24 +0000 (23:13 -0700)
commit4bf96d9d12348da689cdd0a85e668ad4ce16679a
treeab3eccf496c1de41f4a24310dc21d9d275d31a34
parent2aaf2581384fd5e208c6478f0137a5f6a72409c4
Tests: adapt stream_js_preload_object.t to nginx changes.

Make the test more robust against changes in nginx, specifically
cf890df37bb6 (Stream: socket peek in preread phase).

The filter callbacks may be called multiple times by nginx and the exact
number is not specified. The new test avoids relying on the exact number
of calls from nginx.
nginx/t/stream_js_preload_object.t