Browse Source

Fixed the failing ffead-cpp-apache2 tests

sumeetchhetri 9 years ago
parent
commit
9c3898d3fa

+ 1 - 1
frameworks/C++/ffead-cpp/setup.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 
 fw_depends ffead-cpp
-
+sudo /etc/init.d/apache2 stop
 export FFEAD_CPP_PATH=$TROOT/ffead-cpp-2.0
 export LD_LIBRARY_PATH=$IROOT:$FFEAD_CPP_PATH/lib:$LD_LIBRARY_PATH
 echo $FFEAD_CPP_PATH

+ 1 - 0
toolset/benchmark/benchmarker.py

@@ -561,6 +561,7 @@ class Benchmarker:
             sudo service postgresql restart
             sudo service cassandra restart
             /opt/elasticsearch/elasticsearch restart
+   	    sudo /etc/init.d/apache2 stop
           """)
           time.sleep(10)
 

+ 2 - 0
toolset/setup/linux/frameworks/ffead-cpp.sh

@@ -1,5 +1,7 @@
 #!/bin/bash
 
+sudo /etc/init.d/apache2 stop
+
 RETCODE=$(fw_exists ${IROOT}/ffead-cpp.installed)
 [ ! "$RETCODE" == 0 ] || { return 0; }