Close the control socket during cleanup
This should prevent further requests coming in, triggering deadlocks.
This commit is contained in:
@@ -114,7 +114,7 @@ class TestWriteDuringMigration < Test::Unit::TestCase
|
||||
sock.flush
|
||||
sock.readline
|
||||
end
|
||||
rescue Errno::ENOENT
|
||||
rescue StandardError
|
||||
# If the socket disappears, that's OK.
|
||||
break
|
||||
end
|
||||
|
Reference in New Issue
Block a user