summaryrefslogtreecommitdiff
path: root/testapp.c
diff options
context:
space:
mode:
authorDustin Sallings <dustin@spy.net>2009-10-30 19:02:12 -0700
committerDustin Sallings <dustin@spy.net>2009-10-30 19:02:12 -0700
commit655a3a81cad88d601bc57e74489308dabe24910d (patch)
tree3c680165c0391d4ac0b0bf671ce7218c12a90ba9 /testapp.c
parent780a257b007e34423f0e87f40d45133fdd7e7e1f (diff)
downloadmemcached-655a3a81cad88d601bc57e74489308dabe24910d.tar.gz
Enable test for bug101 to be skipped.
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.
Diffstat (limited to 'testapp.c')
-rw-r--r--testapp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testapp.c b/testapp.c
index 729df6f..2d71d8e 100644
--- a/testapp.c
+++ b/testapp.c
@@ -1679,6 +1679,10 @@ static enum test_return test_issue_101(void) {
int ii = 0;
pid_t child = 0;
+ if (getenv("SKIP_TEST_101") != NULL) {
+ return TEST_SKIP;
+ }
+
const char *command = "stats\r\nstats\r\nstats\r\nstats\r\nstats\r\n";
size_t cmdlen = strlen(command);