Skip to content

Commit

Permalink
Make metadata_test test_things_stick_around use fewer strings
Browse files Browse the repository at this point in the history
This test is quadratic in nstr and times out under tsan.
  • Loading branch information
dklempner committed Mar 18, 2015
1 parent 0e93c92 commit a4ac78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/core/transport/metadata_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ static void test_things_stick_around(void) {
grpc_mdctx *ctx;
int i, j;
char *buffer;
int nstrs = 10000;
int nstrs = 1000;
grpc_mdstr **strs = gpr_malloc(sizeof(grpc_mdstr *) * nstrs);
int *shuf = gpr_malloc(sizeof(int) * nstrs);
grpc_mdstr *test;
Expand Down

0 comments on commit a4ac78c

Please sign in to comment.