summaryrefslogtreecommitdiff
path: root/testapp.c
Commit message (Collapse)AuthorAgeFilesLines
* Avoid race condition in test by re-tryingClint Byrum2012-07-271-3/+7
| | | | | (ed note: yes it doesn't check for a NULL and die after 20 times. this should mitigate until we can do better with writing the pidfile)
* Add binary GATK/GATKQdormando2011-09-271-2/+5
| | | | | | | | Apparently nothing tests GETK/GETKQ, so tests still have to be added. 1.6 doesn't have GATK/GATKQ because the membase folks didn't need it. I'm adding them for completeness and because I don't want to argue about why people can't have it. If you're reading this, please use opaques :)
* Backport binary TOUCH/GAT/GATQ commandsdormando2011-09-271-0/+34
| | | | | Taken from the 1.6 branch, partly written by Trond. I hope the CAS handling is correct.
* Issue 221: Increment treats leading spaces as 0Trond Norbye2011-09-031-0/+4
|
* Issue 161 incorrect allocation in cache_createTrond Norbye2010-11-101-0/+34
|
* Remove compile warnings on openBSDTrond Norbye2009-12-301-6/+9
|
* Allow semi-broken C99 compilers to compile memcachedTrond Norbye2009-11-041-3/+1
| | | | | | | | | Some C compilers understand the syntax we use in memcached, but do not ship stdbool.h or stdint.h. According to C99 inttypes.h contains the formatting macros we use (PRInn) and is supposed to include stdint.h. This patch tries to detect stdbool.h and inttypes.h and tries to include them from config.h
* Extend test-case for 102 to verify that large multigets work1.4.3-rc2Trond Norbye2009-11-021-0/+31
|
* Enable test for bug101 to be skipped.Dustin Sallings2009-10-301-0/+4
| | | | | | | | This can potentially use a lot of memory on a host and some of the build slaves don't like that too much. It will run everywhere by default, but may be disabled by setting the SKIP_TEST_101 environment variable.
* Use non-blocking connect_server in test.Dustin Sallings2009-10-281-8/+2
|
* Issue 101: Not reading server responses will hang the serverTrond Norbye2009-10-281-0/+74
|
* Issue 102: Piping null to the server will crash itTrond Norbye2009-10-281-0/+17
|
* Add a parameter to connect_server to get a nonblocking connectionTrond Norbye2009-10-281-5/+14
|
* SASL auth support.Dustin Sallings2009-10-251-1/+5
|
* Removed issue_72 C test (emits invalid key).Dustin Sallings2009-10-071-30/+0
| | | | | This issue has coverage in the perl codebase, but relies on keys larger than 250 bytes long working.
* Issue 92: stats cachedump should respond CLIENT_ERROR for illegal slab idsTrond Norbye2009-09-221-0/+66
|
* binary set with cas does not return the new cas idTrond Norbye2009-09-021-0/+11
| | | | | (dustin) I updated the perl test to check for this when it's doing CAS stuff. Found some bugs in the perl test that took too long to fix.
* Add more tests on the binary protocolTrond Norbye2009-09-021-6/+1163
|
* Deal with C tests running as root.Dustin Sallings2009-08-291-0/+5
|
* Issue #77: Bug in the realloc code caused the previous allocated buffer to ↵Trond Norbye2009-08-221-0/+5
| | | | be reused...
* Remove compilation errors from gcc on SolarisTrond Norbye2009-08-221-2/+2
|
* vperror implementationDustin Sallings2009-08-191-0/+47
| | | | | This allows us to provide much more useful error messages for syscalls.
* Put a time limit on memcached processes started from within tests.Dustin Sallings2009-08-141-2/+7
| | | | | This solves the problem where certain test failures would cause indefinite hangs as child processes refused to ever exit.
* Fix for issue 72: 1.4.0 binary multi-get crash issueTrond Norbye2009-08-141-0/+80
| | | | | | | | | | | | | Repack the input buffer if the current command and key doesn't fit in the input buffer (may occur if we read multiple commands in a pipeline) (Dustin's note): The original test was connecting to "localhost" which was resolving to ::1 on a few machines. With the ephemeral port binding, IPv4 and IPv6 were getting different ports, and the code was explicitly looking for the IPv4 port, but implicitly connecting to ::1. Now it explicitly connects to 127.0.0.1 over IPv4.
* The C test should emit TAP.Dustin Sallings2009-08-131-14/+10
|
* Allow memcached to bind to an ephemeral portTrond Norbye2009-08-131-16/+95
| | | | | | | | | | | | | | | To ease testing you can pass -p -1 to memcached and it will create and bind to an ephemeral port. If you set the environment variable MEMCACHED_PORT_FILENAME to a filename memcached will write the port numbers to the file in the following format: TCP INET6: 5555 TCP INET: 5555 UDP INET6: 6666 UDP INET: 6666 testapp can now just tell the server to start and don't try to locate a random port for it to use, but instead read the file and connect on the port.
* Create a generic cache for objects of same sizeTrond Norbye2009-04-171-0/+308
The suffix pool could be thread-local and use the generic cache