fixed various test issues - 1365085

This commit is contained in:
Frank Cizmich
2014-09-03 14:43:24 -03:00
parent f0a0a8f737
commit 74c70cae92
3 changed files with 48 additions and 1 deletions

View File

@@ -47,6 +47,12 @@ sub read_fifo {
my ($n_reads) = @_;
my $last_inode = 0;
my @data;
# This test still freezes on some centos systems,
# so we're going to bluntly sleep for a few secs to avoid deadlock
# TODO: figure out if there is a proper way to do this.
sleep(3);
for (1..$n_reads) {
PerconaTest::wait_until(sub {
my $inode;