connect error in test was exit in assert

Change-Id: Ic6cd8bbee5c7d41933ddbf2a40cc89369ba31d17
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>