Просмотр исходного кода

support yet another webserver in the integration tests: gatling

David Kalnischkies лет назад: 15
Родитель
Сommit
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