Mercurial > hg > nginx-tests
view README @ 34:689174c36e94
Tests: memcached in 0.7.19 works only with next_upstream.
In 0.7.19 memcached module correctly handles keys not in memcached only if
configured with memcached_next_upstream not_found. Add a test to make sure
this workaround will work in the future.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 14 Oct 2008 22:42:18 +0400 |
parents | 71ea39729fa0 |
children | 9a7158a8609a |
line wrap: on
line source
Test suit for nginx. Use prove to run tests as one usually do for perl tests. Individual tests may be run as well. Tests assume that nginx sources are in directory nginx at the same level as directory with tests, and nginx was already configured and built (i.e. nginx binary available as ../nginx/objs/nginx from test directory). Note: some tests may fail since they are for bugs not fixed in public code. Note: tests run nginx (and backend daemons if needed) listening on localhost. Currently this includes following ports: 8025, 8026, 8080, 8081. Tests for memcached required memcached itself and Cache::Memcached to be installed. Currently each test creates it's own temporary directory and uses it for logs etc. One may instruct tests not to remove the temp directory (e.g. for analysis of failed test) by setting LEAVE environment variable.