summaryrefslogtreecommitdiffstats
path: root/components/congress/test-webapp
diff options
context:
space:
mode:
authorblsaws <bryan.sullivan@att.com>2016-04-07 15:12:55 -0700
committerBryan Sullivan <bs3131@att.com>2016-04-07 22:17:40 +0000
commit61461a7054b5f26b131fc7ef2e961b492930c0b9 (patch)
treed0bea38bfc3ba42f9e9d056897056768407d2625 /components/congress/test-webapp
parent4cefb1e9f1a1b7cde654854f3694c506e5c6f6be (diff)
Add debug option, comment out upgrade (run faster)
JIRA: COPPER-4 Change-Id: Icf7c51b7dc781d83261f265bb9436d718b585669 Signed-off-by: blsaws <bryan.sullivan@att.com> (cherry picked from commit 8bbea98bd289862e2e40350badd6c0ef310d0592)
Diffstat (limited to 'components/congress/test-webapp')
-rw-r--r--components/congress/test-webapp/setup/install_congress_testserver_1.sh4
-rw-r--r--components/congress/test-webapp/setup/install_congress_testserver_2.sh2
2 files changed, 4 insertions, 2 deletions
diff --git a/components/congress/test-webapp/setup/install_congress_testserver_1.sh b/components/congress/test-webapp/setup/install_congress_testserver_1.sh
index 2c65464..57a39e4 100644
--- a/components/congress/test-webapp/setup/install_congress_testserver_1.sh
+++ b/components/congress/test-webapp/setup/install_congress_testserver_1.sh
@@ -34,7 +34,9 @@ if [ $# -lt 2 ]; then
return 2
fi
-if [ $1 == "debug" ]; then set -x #echo on
+if [ $# -eq 3 ]; then
+ if [ $3 == "debug" ]; then set -x #echo on
+ fi
fi
echo "Install prerequisites"
diff --git a/components/congress/test-webapp/setup/install_congress_testserver_2.sh b/components/congress/test-webapp/setup/install_congress_testserver_2.sh
index 98fdcd2..aacc0fe 100644
--- a/components/congress/test-webapp/setup/install_congress_testserver_2.sh
+++ b/components/congress/test-webapp/setup/install_congress_testserver_2.sh
@@ -31,7 +31,7 @@ EOF
echo "Update the base server"
set -x
sudo apt-get update
-sudo apt-get -y upgrade
+#sudo apt-get -y upgrade
echo "Install pip"
sudo apt-get install -y python-pip