Fix unreachable TimeOutException bug in amphora driver
Faulty logic in the amphora REST API driver prevented a TimeOutException from being thrown when appropriate.
This commit fixes this bug and adds a unit test to ensure proper behavior.
Closes-Bug: 1583558
Change-Id: I8b8ddbf8ac93c51ad15b4c5d107138913be25bbf
(cherry picked from commit 8474c60e85114a2df87658afb440b868c3eaecbc)
Reviewed: https:/ /review. openstack. org/350381 /git.openstack. org/cgit/ openstack/ octavia/ commit/ ?id=d1f067b83e6 c419d22881f7831 5ce7076cb6f7f9
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit d1f067b83e6c419 d22881f78315ce7 076cb6f7f9
Author: Aviv <email address hidden>
Date: Thu May 19 16:59:59 2016 +0300
Fix unreachable TimeOutException bug in amphora driver
Faulty logic in the amphora REST API driver prevented a TimeOutException from being thrown when appropriate.
This commit fixes this bug and adds a unit test to ensure proper behavior.
Closes-Bug: 1583558
Change-Id: I8b8ddbf8ac93c5 1ad15b4c5d10713 8913be25bbf df87658afb440b8 68c3eaecbc)
(cherry picked from commit 8474c60e85114a2