Make tests pass

This commit is contained in:
Girish Ramakrishnan
2017-01-29 13:01:09 -08:00
parent fd40940ef5
commit 2d3bdda1c8
2 changed files with 10 additions and 7 deletions

View File

@@ -129,6 +129,8 @@ function validateHostname(location, fqdn) {
// validate the port bindings
function validatePortBindings(portBindings, tcpPorts) {
assert.strictEqual(typeof portBindings, 'object');
// keep the public ports in sync with firewall rules in scripts/initializeBaseUbuntuImage.sh
// these ports are reserved even if we listen only on 127.0.0.1 because we setup HostIp to be 127.0.0.1
// for custom tcp ports