Skip to content

Regression

Test / Coverage (experimental) / unit/experimental/internal/inspect.TestInspect/json/1#09 (from unit_experimental_internal_inspect)

Failing for the past 1 build (Since Failed #5 )
Took 0 ms.

Error Message

Failed

Stacktrace

=== RUN   TestInspect/json/1#09
        --- FAIL: TestInspect/json/1#09 (0.00s)
            inspect_test.go:140: assertion failed: 
                --- expected
                +++ actual
                @@ -1,52 +1 @@
                -{
                -    "Metadata": {
                -        "version": "0.1.0",
                -        "name": "myapp",
                -        "description": "some description",
                -        "maintainers": [
                -            {
                -                "name": "dev",
                -                "email": "dev@example.com"
                -            }
                -        ]
                -    },
                -    "Services": [
                -        {
                -            "Name": "web1",
                -            "Image": "nginx:latest",
                -            "Replicas": 2,
                -            "Mode": "",
                -            "Ports": "8080-8100"
                -        },
                -        {
                -            "Name": "web2",
                -            "Image": "nginx:latest",
                -            "Replicas": 2,
                -            "Mode": "",
                -            "Ports": "9080-9100"
                -        }
                -    ],
                -    "Networks": [
                -        "my-network1",
                -        "my-network2"
                -    ],
                -    "Volumes": [
                -        "my-volume1",
                -        "my-volume2"
                -    ],
                -    "Secrets": [
                -        "my-secret1",
                -        "my-secret2"
                -    ],
                -    "Parameters": {
                -        "port": "8080",
                -        "text": "hello"
                -    },
                -    "Attachments": [
                -        {
                -            "Path": "config.cfg",
                -            "Size": 9
                -        }
                -    ]
                -}