|
|
@ -2,7 +2,6 @@
|
|
|
|
import os
|
|
|
|
import os
|
|
|
|
import shutil
|
|
|
|
import shutil
|
|
|
|
|
|
|
|
|
|
|
|
import timeoutcontext
|
|
|
|
|
|
|
|
import unittest2
|
|
|
|
import unittest2
|
|
|
|
|
|
|
|
|
|
|
|
import mitogen.fakessh
|
|
|
|
import mitogen.fakessh
|
|
|
@ -11,7 +10,6 @@ import testlib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class RsyncTest(testlib.DockerMixin, testlib.TestCase):
|
|
|
|
class RsyncTest(testlib.DockerMixin, testlib.TestCase):
|
|
|
|
@timeoutcontext.timeout(5)
|
|
|
|
|
|
|
|
@unittest2.skip('broken')
|
|
|
|
@unittest2.skip('broken')
|
|
|
|
def test_rsync_from_master(self):
|
|
|
|
def test_rsync_from_master(self):
|
|
|
|
context = self.docker_ssh_any()
|
|
|
|
context = self.docker_ssh_any()
|
|
|
@ -28,7 +26,6 @@ class RsyncTest(testlib.DockerMixin, testlib.TestCase):
|
|
|
|
self.assertTrue(context.call(os.path.exists, '/tmp/data'))
|
|
|
|
self.assertTrue(context.call(os.path.exists, '/tmp/data'))
|
|
|
|
self.assertTrue(context.call(os.path.exists, '/tmp/data/simple_pkg/a.py'))
|
|
|
|
self.assertTrue(context.call(os.path.exists, '/tmp/data/simple_pkg/a.py'))
|
|
|
|
|
|
|
|
|
|
|
|
@timeoutcontext.timeout(5)
|
|
|
|
|
|
|
|
@unittest2.skip('broken')
|
|
|
|
@unittest2.skip('broken')
|
|
|
|
def test_rsync_between_direct_children(self):
|
|
|
|
def test_rsync_between_direct_children(self):
|
|
|
|
# master -> SSH -> mitogen__has_sudo_pubkey -> rsync(.ssh) -> master ->
|
|
|
|
# master -> SSH -> mitogen__has_sudo_pubkey -> rsync(.ssh) -> master ->
|
|
|
|