diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 630: Hot Fix for networking issues in the lab

Message ID 20130621154914.18538.84570.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Tyler Baker June 21, 2013, 3:49 p.m. UTC
------------------------------------------------------------
revno: 630
committer: Tyler Baker <tyler.baker@linaro.org>
branch nick: lava-dispatcher
timestamp: Fri 2013-06-21 08:48:44 -0700
message:
  Hot Fix for networking issues in the lab
modified:
  lava_dispatcher/actions/lava_test_shell.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_dispatcher/actions/lava_test_shell.py'
--- lava_dispatcher/actions/lava_test_shell.py	2013-04-16 02:59:05 +0000
+++ lava_dispatcher/actions/lava_test_shell.py	2013-06-21 15:48:44 +0000
@@ -482,6 +482,9 @@ 
 
         with target.runner() as runner:
             runner.wait_for_prompt(timeout)
+            if self.context.config.lava_proxy:
+                runner._connection.sendline(
+                    "export http_proxy=%s" % self.context.config.lava_proxy)
             runner._connection.sendline(
                 "%s/bin/lava-test-runner" % target.deployment_data['lava_test_dir'])
             start = time.time()