mirror of
https://github.com/status-im/consul.git
synced 2025-02-15 07:07:18 +00:00
agent: add additional assertion to test
This commit is contained in:
parent
a643ad3c60
commit
a08faf5a11
@ -1691,6 +1691,7 @@ func TestAgent_DeregisterService_withManagedProxy(t *testing.T) {
|
||||
}
|
||||
|
||||
// Get the proxy ID
|
||||
require.Len(a.State.Proxies(), 1)
|
||||
var proxyID string
|
||||
for _, p := range a.State.Proxies() {
|
||||
proxyID = p.Proxy.ProxyService.ID
|
||||
|
Loading…
x
Reference in New Issue
Block a user