TAP version 13
# Subtest: compose.test.js
    # Subtest: complex port configuration V3 syntax
    {
      "global": {
        "run_containers": true,
        "dns_enabled": true,
        "dns_host": "127.0.0.1",
        "dns_port": 53053,
        "dns_suffix": "svc.cluster.local",
        "dns_namespace": "micro",
        "tail": true,
        "monitor": true,
        "monitor_excludes": [
          "**/node_modules/**",
          "**/.git/**",
          "**/*.log"
        ],
        "container_engine_url": "",
        "auto_generate_environment": true,
        "environment": {},
        "delay_start": 0,
        "restart_on_error": false,
        "max_restarts": 5,
        "host": "127.0.0.1",
        "dns": {
          "A": {
            "version.micro.svc.cluster.local": {
              "address": "127.0.0.1"
            },
            "services.micro.svc.cluster.local": {
              "address": "127.0.0.1"
            },
            "service_1.micro.svc.cluster.local": {
              "address": "127.0.0.1"
            }
          },
          "SRV": {
            "_main._tcp.version.micro.svc.cluster.local": {
              "address": "127.0.0.1",
              "cname": "version.micro.svc.cluster.local",
              "port": "10000"
            },
            "_main._tcp.services.micro.svc.cluster.local": {
              "address": "127.0.0.1",
              "cname": "services.micro.svc.cluster.local",
              "port": "10001"
            },
            "_main._tcp.service_1.micro.svc.cluster.local": {
              "address": "127.0.0.1",
              "cname": "service_1.micro.svc.cluster.local",
              "port": "8080"
            }
          }
        }
      },
      "topology": {
        "containers": {
          "version": {
            "name": "version",
            "type": "container",
            "ports": {
              "main": [
                "10000",
                null
              ]
            },
            "environment": {
              "VERSION_SERVICE_HOST": "127.0.0.1",
              "VERSION_SERVICE_PORT": "10000",
              "VERSION_PORT": "tcp://127.0.0.1:10000",
              "VERSION_PORT_10000_TCP": "tcp://127.0.0.1:10000",
              "VERSION_PORT_10000_TCP_PROTO": "tcp",
              "VERSION_PORT_10000_TCP_PORT": "10000",
              "VERSION_PORT_10000_TCP_ADDR": "127.0.0.1",
              "DNS_HOST": "127.0.0.1",
              "DNS_PORT": 53053,
              "DNS_NAMESPACE": "micro",
              "DNS_SUFFIX": "svc.cluster.local",
              "SERVICES_SERVICE_HOST": "127.0.0.1",
              "SERVICES_SERVICE_PORT": "10001",
              "SERVICES_PORT": "tcp://127.0.0.1:10001",
              "SERVICES_PORT_10001_TCP": "tcp://127.0.0.1:10001",
              "SERVICES_PORT_10001_TCP_PROTO": "tcp",
              "SERVICES_PORT_10001_TCP_PORT": "10001",
              "SERVICES_PORT_10001_TCP_ADDR": "127.0.0.1",
              "SERVICE_1_SERVICE_HOST": "127.0.0.1",
              "SERVICE_1_SERVICE_PORT": "8080",
              "SERVICE_1_PORT": "tcp://127.0.0.1:8080",
              "SERVICE_1_PORT_8080_TCP": "tcp://127.0.0.1:8080",
              "SERVICE_1_PORT_8080_TCP_PROTO": "tcp",
              "SERVICE_1_PORT_8080_TCP_PORT": "8080",
              "SERVICE_1_PORT_8080_TCP_ADDR": "127.0.0.1"
            },
            "host": "127.0.0.1",
            "tail": true,
            "monitor": false,
            "monitor_excludes": [
              "**/node_modules/**",
              "**/.git/**",
              "**/*.log"
            ],
            "delay_start": 0,
            "restart_on_error": false,
            "max_restarts": 5,
            "auto_generate_environment": true,
            "dns_suffix": "svc.cluster.local",
            "dns_namespace": "micro",
            "dns_enabled": true,
            "process": {
              "history": [],
              "flags": {},
              "child": null,
              "colour": null,
              "monitor": null
            }
          },
          "services": {
            "name": "services",
            "type": "container",
            "ports": {
              "main": [
                "10001",
                null
              ]
            },
            "environment": {
              "VERSION_SERVICE_HOST": "127.0.0.1",
              "VERSION_SERVICE_PORT": "10000",
              "VERSION_PORT": "tcp://127.0.0.1:10000",
              "VERSION_PORT_10000_TCP": "tcp://127.0.0.1:10000",
              "VERSION_PORT_10000_TCP_PROTO": "tcp",
              "VERSION_PORT_10000_TCP_PORT": "10000",
              "VERSION_PORT_10000_TCP_ADDR": "127.0.0.1",
              "DNS_HOST": "127.0.0.1",
              "DNS_PORT": 53053,
              "DNS_NAMESPACE": "micro",
              "DNS_SUFFIX": "svc.cluster.local",
              "SERVICES_SERVICE_HOST": "127.0.0.1",
              "SERVICES_SERVICE_PORT": "10001",
              "SERVICES_PORT": "tcp://127.0.0.1:10001",
              "SERVICES_PORT_10001_TCP": "tcp://127.0.0.1:10001",
              "SERVICES_PORT_10001_TCP_PROTO": "tcp",
              "SERVICES_PORT_10001_TCP_PORT": "10001",
              "SERVICES_PORT_10001_TCP_ADDR": "127.0.0.1",
              "SERVICE_1_SERVICE_HOST": "127.0.0.1",
              "SERVICE_1_SERVICE_PORT": "8080",
              "SERVICE_1_PORT": "tcp://127.0.0.1:8080",
              "SERVICE_1_PORT_8080_TCP": "tcp://127.0.0.1:8080",
              "SERVICE_1_PORT_8080_TCP_PROTO": "tcp",
              "SERVICE_1_PORT_8080_TCP_PORT": "8080",
              "SERVICE_1_PORT_8080_TCP_ADDR": "127.0.0.1"
            },
            "host": "127.0.0.1",
            "tail": true,
            "monitor": false,
            "monitor_excludes": [
              "**/node_modules/**",
              "**/.git/**",
              "**/*.log"
            ],
            "delay_start": 0,
            "restart_on_error": false,
            "max_restarts": 5,
            "auto_generate_environment": true,
            "dns_suffix": "svc.cluster.local",
            "dns_namespace": "micro",
            "dns_enabled": true,
            "process": {
              "history": [],
              "flags": {},
              "child": null,
              "colour": null,
              "monitor": null
            }
          },
          "service_1": {
            "type": "process",
            "path": "/Users/pelger/work/oss/apparatus/fugedir/fuge-config/test/fixture/composeV3/service_1",
            "run": "node index.js",
            "ports": {
              "main": [
                "8080",
                null
              ]
            },
            "environment": {
              "VERSION_SERVICE_HOST": "127.0.0.1",
              "VERSION_SERVICE_PORT": "10000",
              "VERSION_PORT": "tcp://127.0.0.1:10000",
              "VERSION_PORT_10000_TCP": "tcp://127.0.0.1:10000",
              "VERSION_PORT_10000_TCP_PROTO": "tcp",
              "VERSION_PORT_10000_TCP_PORT": "10000",
              "VERSION_PORT_10000_TCP_ADDR": "127.0.0.1",
              "DNS_HOST": "127.0.0.1",
              "DNS_PORT": 53053,
              "DNS_NAMESPACE": "micro",
              "DNS_SUFFIX": "svc.cluster.local",
              "SERVICES_SERVICE_HOST": "127.0.0.1",
              "SERVICES_SERVICE_PORT": "10001",
              "SERVICES_PORT": "tcp://127.0.0.1:10001",
              "SERVICES_PORT_10001_TCP": "tcp://127.0.0.1:10001",
              "SERVICES_PORT_10001_TCP_PROTO": "tcp",
              "SERVICES_PORT_10001_TCP_PORT": "10001",
              "SERVICES_PORT_10001_TCP_ADDR": "127.0.0.1",
              "SERVICE_1_SERVICE_HOST": "127.0.0.1",
              "SERVICE_1_SERVICE_PORT": "8080",
              "SERVICE_1_PORT": "tcp://127.0.0.1:8080",
              "SERVICE_1_PORT_8080_TCP": "tcp://127.0.0.1:8080",
              "SERVICE_1_PORT_8080_TCP_PROTO": "tcp",
              "SERVICE_1_PORT_8080_TCP_PORT": "8080",
              "SERVICE_1_PORT_8080_TCP_ADDR": "127.0.0.1",
              "wibble": "bibble"
            },
            "name": "service_1",
            "specific": {},
            "host": "127.0.0.1",
            "tail": true,
            "monitor": true,
            "monitor_excludes": [
              "**/node_modules/**",
              "**/.git/**",
              "**/*.log"
            ],
            "delay_start": 0,
            "restart_on_error": false,
            "max_restarts": 5,
            "auto_generate_environment": true,
            "dns_suffix": "svc.cluster.local",
            "dns_namespace": "micro",
            "dns_enabled": true,
            "process": {
              "history": [],
              "flags": {},
              "child": null,
              "colour": null,
              "monitor": null
            }
          }
        }
      }
    }
        ok 1 - (unnamed test)
        not ok 2 - test unfinished: complex port configuration V3 syntax
          ---
          at:
            line: 58
            column: 1
            file: compose.test.js
          source: |
            test('complex port configuration V3 syntax', function (t) {
          ...
        1..2
        # failed 1 of 2 tests
    not ok 1 - complex port configuration V3 syntax # time=34.487ms
      ---
      at:
        line: 58
        column: 1
        file: compose.test.js
      results:
        plan:
          start: 1
          end: 2
        count: 2
        pass: 1
        ok: false
        fail: 1
        time: 34.487
      source: |
        test('complex port configuration V3 syntax', function (t) {
      ...
    
    1..1
    # failed 1 of 1 tests
    # time=91.064ms
not ok 1 - compose.test.js # time=254.884ms
  ---
  timeout: 30000
  file: compose.test.js
  exitCode: 1
  command: /usr/local/bin/node
  arguments:
    - compose.test.js
  ...

1..1
# failed 1 of 1 tests
# time=269.91ms
