Skip to content

Commit 4093c4d

Browse files
committed
Bug#36196214 testNdbProcess fails under ASan+UBSan
In testNdbProcess-t, in read_response(), the timeout waiting for a pipe to become readable was too short. Increase it from 50ms to 250ms. Change-Id: I83fdc7d1a2c6474ab4253b9e77e49496eb6aef8f
1 parent 0714ca1 commit 4093c4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/ndb/src/common/util/testNdbProcess.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ bool read_response(NdbProcess::Pipes &pipes, FILE *rfp) {
9393
response[0] = 'F';
9494
bool match = false;
9595

96-
/* Wait 50ms for socket to become readable, then read response */
97-
if (pollReadable(pipes.parentRead(), 50) == 1) {
96+
/* Wait 250ms for socket to become readable, then read response */
97+
if (pollReadable(pipes.parentRead(), 250) == 1) {
9898
if (fread(response, 8, 1, rfp) == 1) {
9999
response[8] = '\0';
100100
match = !strcmp(response, "goodbye.");

0 commit comments

Comments
 (0)