fastly / js-compute-runtime

JavaScript SDK and runtime for building Fastly Compute applications
https://developer.fastly.com/learning/compute/javascript/
Apache License 2.0
193 stars 26 forks source link

test: more carefully check the timeout tests #808

Closed guybedford closed 2 weeks ago

guybedford commented 2 weeks ago

This refines the timeout tests to verify that the test really is a timeout (I was getting a host error that dynamic backends were not supported myself).

In addition we not only test the timeout, but also a successful request that waits just under the timeout time to ensure the timeout value is in the range specified.