Explorar o código

support yet another webserver in the integration tests: gatling

David Kalnischkies %!s(int64=15) %!d(string=hai) anos
pai
achega
6e7d39d0f5
Modificáronse 1 ficheiros con 5 adicións e 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