File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,11 @@ sub start_nodes
71
71
$able -> psql(' postgres' , " select raftable('hello', '$tests {hello}');" );
72
72
$baker -> psql(' postgres' , " select raftable('and', '$tests {and}');" );
73
73
$charlie -> psql(' postgres' , " select raftable('goodbye', '$tests {goodbye}');" );
74
- # $baker->stop;
74
+ $baker -> stop;
75
75
$able -> psql(' postgres' , " select raftable('world', '$tests {world}');" );
76
76
77
- # $baker->start;
77
+ $baker -> start;
78
+ sleep (5);
78
79
while (my ($key , $value ) = each (%tests ))
79
80
{
80
81
my $o = $baker -> psql(' postgres' , " select raftable('$key ');" );
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ static bool remove_client(Client *c)
169
169
int sock = c -> sock ;
170
170
Assert (sock >= 0 );
171
171
c -> sock = -1 ;
172
- pfree (c -> msg );
172
+ if ( c -> msg ) pfree (c -> msg );
173
173
174
174
server .clientnum -- ;
175
175
close (sock );
You can’t perform that action at this time.
0 commit comments