Yichun Zhang (agentzh)
|
311539270b
|
tests: removed the useless "use lib" directives from the Perl test files. thanks Markus Linnala for the report in #464.
|
2015-10-08 17:13:16 +08:00 |
Yichun Zhang (agentzh)
|
d7378122d0
|
tests: fixed a small bug in a test case.
|
2014-08-29 16:22:36 -07:00 |
Yichun Zhang (agentzh)
|
c178302bd1
|
updated the test index in 109-timer-hup.t.
|
2014-05-12 12:54:40 -07:00 |
Yichun Zhang (agentzh)
|
af2d3570bf
|
added a (passing) fuzz testing for aborting many pending timers.
|
2014-05-10 11:02:37 -07:00 |
Yichun Zhang (agentzh)
|
cbf054f12c
|
made a test case less likely to fail on slow machines.
|
2014-03-30 20:45:49 -07:00 |
Yichun Zhang (agentzh)
|
870b9a7f16
|
test: use smaller port numbers to reduce the chance of conflicting with local ports.
|
2014-01-26 14:06:06 -08:00 |
Yichun Zhang (agentzh)
|
c005354029
|
bugfix: timers created by ngx.timer.at() might not be aborted prematurely upon nginx worker exit. thanks Hamish Forbes for the report.
|
2014-01-25 13:54:24 -08:00 |
Yichun Zhang (agentzh)
|
04a7a2cca8
|
use Test::Nginx::Socket::Lua from the test-nginx project in our test suite.
|
2013-12-05 14:46:51 -08:00 |
Yichun Zhang (agentzh)
|
5130517798
|
bugfix: 0-delay timers created after the worker starts shutting down should not always expire prematurely.
|
2013-11-23 20:51:11 -08:00 |
Yichun Zhang (agentzh)
|
002b68ec75
|
feature: added new API function ngx.worker.exiting() for testing if the current worker process is exiting.
|
2013-11-23 20:32:43 -08:00 |
Yichun Zhang (agentzh)
|
4d6dc5804a
|
feature: allow creating 0-delay timers upon worker process existing.
|
2013-11-23 18:59:37 -08:00 |
agentzh (Yichun Zhang)
|
71e16c46d2
|
added custom test scaffold t::TestNginxLua which subclasses Test::Nginx::Socket. it supports the environment TEST_NGINX_INIT_BY_LUA which can be used to add more custom Lua code to the value of the init_by_lua directive in the nginx configuration.
|
2013-05-07 19:27:48 -07:00 |
agentzh (Yichun Zhang)
|
10edc8cb03
|
added a passing test for calling ngx.timer.at() after HUP reload.
|
2013-04-12 12:29:20 -07:00 |
agentzh (Yichun Zhang)
|
069f07541d
|
feature: when the nginx worker process is quitting (as in server shutdown or HUP reload), all the pending ngx.timer timers expire immediately and their Lua callbacks get called with a true value as the first argument (to indicate whether it is a premature expiration or not).
|
2013-04-11 23:59:48 -07:00 |