devserver: Revise integration tests server startup logic.
* We shift to having the devserver bind to an arbitrary port by default
for test purposes. This is more robust and saves us from relying on
heuristic, iterative attempts.
* Revise the test classes hierarchy to distinguish "auto-started server"
tests from others; this will be needed for specifically testing the
devserver's port binding behavior.
* Small refactoring for better code reusability, clarity.
BUG=chromium:322436
TEST=Integration tests pass.
Change-Id: Ia17b580c393ecc641dccc8e88608e9807d0eea87
Reviewed-on: https://chromium-review.googlesource.com/186697
Reviewed-by: Gilad Arnold <garnold@chromium.org>
Commit-Queue: Gilad Arnold <garnold@chromium.org>
Tested-by: Gilad Arnold <garnold@chromium.org>
1 file changed