Преглед изворни кода

support yet another webserver in the integration tests: gatling

David Kalnischkies пре 15 година
родитељ
комит
6e7d39d0f5
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      test/integration/framework

+ 5 - 0
test/integration/framework

@@ -612,6 +612,11 @@ changetowebserver() {
 	if which weborf > /dev/null; then
 		weborf -xb aptarchive/ 2>&1 > /dev/null &
 		addtrap "kill $!;"
+	elif which gatling > /dev/null; then
+		cd aptarchive
+		gatling -p 8080 -F -S 2>&1 > /dev/null &
+		addtrap "kill $!;"
+		cd - > /dev/null
 	elif which lighttpd > /dev/null; then
 		echo "server.document-root = \"$(readlink -f ./aptarchive)\"
 server.port = 8080