Explorar el Código

support yet another webserver in the integration tests: gatling

David Kalnischkies hace 15 años
padre
commit
6e7d39d0f5
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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