Fix spurious warnings after a peer is killed 96/37496/7
authorJozef Behran <jbehran@cisco.com>
Tue, 12 Apr 2016 18:30:47 +0000 (20:30 +0200)
committerJozef Behran <jbehran@cisco.com>
Thu, 14 Apr 2016 06:04:36 +0000 (08:04 +0200)
commitb47cba9ddd7305281d2e4e7a7daae9c951e37f4a
treef1b6fd14946ebbb3d68ececde10343c43e0825d3
parent5e709583bf7105aed09ee2ffda7a17e6b7b82aaa
Fix spurious warnings after a peer is killed

When a peer is killed and is later restarted, then any
attempt to query anything from it using restconf will lead
to a bunch of warnings about a dead connection. After digging
in the RequestsLibrary source I realized that the proper cure
is to tell the RequestsLibrary.Create_Session to not make any
retries if the first connection attempt fails.

Change-Id: Ic0586a280d2d9bda675771182f66374c4c6cd982
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/libraries/ClusterManagement.robot