mirror of
https://github.com/containous/traefik.git
synced 2025-01-08 21:17:56 +03:00
fix: unit tests were never run on cmd package
This commit is contained in:
parent
d141e4a1ed
commit
35c704ace3
@ -131,12 +131,6 @@ func TestGetDefaultsEntrypoints(t *testing.T) {
|
||||
"traefik": {
|
||||
Address: ":8080",
|
||||
},
|
||||
"traefikhub-api": {
|
||||
Address: ":9900",
|
||||
},
|
||||
"traefikhub-tunl": {
|
||||
Address: ":9901",
|
||||
},
|
||||
},
|
||||
expected: []string{"web"},
|
||||
},
|
||||
|
@ -248,7 +248,7 @@ EntryPoints in this list are used (by default) on HTTP and TCP routers that do n
|
||||
If at least one EntryPoint has the `AsDefault` option set to `true`,
|
||||
then the list of default EntryPoints includes only EntryPoints that have the `AsDefault` option set to `true`.
|
||||
|
||||
Some built-in EntryPoints are always excluded from the list, namely: `traefik`, `traefikhub-api`, and `traefikhub-tunl`.
|
||||
Some built-in EntryPoints are always excluded from the list, namely: `traefik`.
|
||||
|
||||
!!! warning "Only TCP and HTTP"
|
||||
|
||||
|
@ -18,7 +18,7 @@ set +e
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
# shellcheck disable=SC2048
|
||||
go test ${TESTFLAGS[*]} ./pkg/...
|
||||
go test ${TESTFLAGS[*]} ./pkg/... ./cmd/...
|
||||
|
||||
CODE=$?
|
||||
if [ ${CODE} != 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user