mirror of https://github.com/hashicorp/consul
Fix test build
parent
15c3cfce5e
commit
c8f5215e9d
|
@ -24,7 +24,7 @@ func TestInternalServiceDump(t *testing.T) {
|
||||||
require.Equal(t, 1*time.Second, req.QueryOptions.MaxQueryTime)
|
require.Equal(t, 1*time.Second, req.QueryOptions.MaxQueryTime)
|
||||||
require.True(t, req.AllowStale)
|
require.True(t, req.AllowStale)
|
||||||
|
|
||||||
reply := args.Get(2).(*structs.IndexedCheckServiceNodes)
|
reply := args.Get(2).(*structs.IndexedNodesWithGateways)
|
||||||
reply.Nodes = []structs.CheckServiceNode{
|
reply.Nodes = []structs.CheckServiceNode{
|
||||||
{Service: &structs.NodeService{Kind: req.ServiceKind, Service: "foo"}},
|
{Service: &structs.NodeService{Kind: req.ServiceKind, Service: "foo"}},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue