mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 10:58:25 +00:00
Fix test build
This commit is contained in:
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…
x
Reference in New Issue
Block a user