Test a source crashing after an entrust.
This adds a test for destination behaviour, in that if a source crashes after sending an entrust message but before the destination can reply, the destination must allow the source to reconnect and retry the mirror.
This commit is contained in:
@@ -27,7 +27,7 @@ Process.kill( "CONT", srv_pid.to_i )
|
||||
sleep(0.25)
|
||||
|
||||
# ...and can we reconnect?
|
||||
client2 = FakeSource.new( addr, port, "Timed out connecting" )
|
||||
client2 = FakeSource.new( addr, port, "Timed out reconnecting" )
|
||||
client2.close
|
||||
|
||||
exit(0)
|
||||
|
Reference in New Issue
Block a user