mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
fixed connect port label
This commit is contained in:
@@ -92,9 +92,9 @@ func TestConnect_connectSidecarRegistration(t *testing.T) {
|
||||
|
||||
t.Run("no service port", func(t *testing.T) {
|
||||
_, err := connectSidecarRegistration("unknown-id", &structs.ConsulSidecarService{
|
||||
// irrelevant
|
||||
Port: "unknown-label",
|
||||
}, testConnectNetwork, testConnectPorts)
|
||||
require.EqualError(t, err, `No Connect port defined`)
|
||||
require.EqualError(t, err, `invalid port unknown-label: port label not found`)
|
||||
})
|
||||
|
||||
t.Run("bad proxy", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user