| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
(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)
|
|
|
|
|
|
|
|
| |
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 :)
|
|
|
|
|
| |
Taken from the 1.6 branch, partly written by Trond. I hope the CAS handling is
correct.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This issue has coverage in the perl codebase, but relies on keys
larger than 250 bytes long working.
|
| |
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
|
|
|
| |
be reused...
|
| |
|
|
|
|
|
| |
This allows us to provide much more useful error messages for
syscalls.
|
|
|
|
|
| |
This solves the problem where certain test failures would cause
indefinite hangs as child processes refused to ever exit.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
The suffix pool could be thread-local and use the generic cache
|