]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/utils/httpserver: allow to pass in listening port
authorAndré Draszik <git@andred.net>
Thu, 12 Dec 2019 21:52:09 +0000 (21:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Dec 2019 23:22:03 +0000 (23:22 +0000)
commite54391ca9068661693275fbfcfded9bc0b2606f3
tree86f536e56460678e9cf56e38cce70f75c02409db
parent98715c9dc8dd925cffce9bd5d57172206d1e2a7b
oeqa/utils/httpserver: allow to pass in listening port

Being able to specify the listening port is useful when
running OEQA from within a docker container, e.g.
crops or any other solution.
In that case, a port on the outside must be mapped to a
specific port inside the container. If no port is specified
for the http server module in this case, the http server
would choose a random port, which is unlikely to be mapped
and thus won't be reachable from the outside.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/httpserver.py