Skip to content

Commit

Permalink
Enable test for bug101 to be skipped.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dustin committed Oct 31, 2009
1 parent 780a257 commit 655a3a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testapp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 655a3a8

Please sign in to comment.