barrier cleanups:
* renames barrier.py to base_barrier.py and adds a barrier.py
stub to import from base_barrier and override with site_barrier
if found. barrier_unittest.py is renamed to match.
* Move BarrierAbortError to the error module with everything else.
* Add a rendezvous_servers abort=True from the server test case.
* Moved get_sync_control_file() from common_lib.utils to
server.base_utils where it belongs to avoid a circular
import of utils importing barrier.
Signed-off-by: Gregory Smith <[email protected]>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4444 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/common_lib/error.py b/client/common_lib/error.py
index 2fa3a52..94ac476 100644
--- a/client/common_lib/error.py
+++ b/client/common_lib/error.py
@@ -143,6 +143,11 @@
pass
+class BarrierAbortError(BarrierError):
+ """Indicate that the barrier was explicitly aborted by a member."""
+ pass
+
+
class InstallError(JobError):
"""Indicates an installation error which Terminates and fails the job."""
pass