History log of /external/autotest/client/tests/barriertest/barriertest.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
999fb13dcbf4de5e37ca2b3059ef1061b5faba43 23-Apr-2010 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> 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 <gps@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4444 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
02fc0b9199aa71c7f801aee4fcd4b86513e8facb 01-Apr-2010 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> * Rewrite barriertest (the old one was useless|incomplete|partial|broken).
* Refactor barrier.py to reduce the public API surface to that which is
actually required and used. Cleans up some docstring style as well.

No functional changes.

This prepares for adding site_barrier support in a future patch.

Signed-off-by: Gregory Smith <gps@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4369 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
dbc5eaf052e936623c4acd5075d8383a81302f25 19-Mar-2010 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Moved binding/listening on the server socket from
barrier.barrier.run_server() to a separate class
(barrier.listen_server). Added a keyword argument to barrier to pass
a listen_server instance to use it when it needs access to the server
socket. When a listen_server instance is not given to barrier it will
create one in run_server() (preserving the old semantics). Updated
barriertest (used by server side profiler support code) to reuse a
listen_server instance in almost all its barrier instances (thus
hopefully fixing an issue where we rebind too fast on the same port when
packets are in transit from an old connection and get a ECONNRESET on a
new connection because of this). Updated unittests.

Signed-off-by: Mihai Rusu <dizzy@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4314 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
a8ba7044f7d437bbf92d2e45654ff65674a299e5 19-Dec-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Changed standalone_profiler.generate_test() to support specifying of
keyword arguments. Added a finish_profilers() synchronization point and
used it in barriertest (needed for server side tests to wait for all
client profilers to have finished before collecting the results on the
server side).

Signed-off-by: Mihai Rusu <dizzy@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4026 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
b65c5b0bc755c569e3ab03b6b2a70e45f72dde80 03-Aug-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Use lower ports for profiling.
old: 63100 new: 11920
old: 63001, 63101 new: 11921
old: 63002, 63000 new: 11922

Signed-off-by: Rachel Kroll <rkroll@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3483 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
9c12f77f7eff3cfa90fdfa19d33f82645f43dcb5 22-Jun-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed the mis-spelling of rendezvous.

Signed-off-by: Travis Miller <raphtee@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3320 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
f20b9cd8a026723ff11204281d281eac7b06c81d 09-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed the imports for the profilers.

Signed-off-by: Colby Ranger <cranger@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1666 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
8b352856e457518fde6bab947d8fcdb3f53a39ad 07-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Manual whitespace cleanups and coding style fixes

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1665 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
0afbb6369aa5aa9a75ea67dd9e95ec4b21c0c181 06-Jun-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Convert all python code to use four-space indents instead of eight-space tabs.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1658 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
9f8579202a07a123a3f73c1eb2211d8fe9553b11 05-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Risk: Required at this point
Visibilty: Under the hood
Here is an update to all public tests adding imports where they were missing
and removing import *

Signed-off-by: Scott Zawalski <scottz@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@1605 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
e74782b6199beac161ebd9e9ccd2266a97434821 03-Jan-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Added the start_profilers command from server. Profilers sync locally after GO is sent.

Signed-off-by: Colby Ranger <cranger@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1098 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
6b504ff04e21af766da0cfbcde8e1e352a474dfa 12-Dec-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed the barriers to exit rendevous when there are no members specied.

Signed-off-by: Colby Ranger <cranger@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1061 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py
e1417fa0334ac4e2ab6064e42de0bb891e561057 10-Dec-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> * Added support for barriers to the server.
* Allow slaves to run HTTP servers and let the master connect to them.
This is for networks where some connections to machines can only be
initiated in one direction.
* Added a client test that would kick off profilers and run them in sync with th
e server.
* Added a server sample test that uses the client test.

From: Colby Ranger <cranger@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1048 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/barriertest/barriertest.py