mirror of https://github.com/hashicorp/consul
agent: fix test
parent
d567d6a6d8
commit
c457ee0075
|
@ -354,10 +354,6 @@ func TestPreparedQuery_Explain(t *testing.T) {
|
||||||
|
|
||||||
m.explainFn = func(args *structs.PreparedQueryExecuteRequest, reply *structs.PreparedQueryExplainResponse) error {
|
m.explainFn = func(args *structs.PreparedQueryExecuteRequest, reply *structs.PreparedQueryExplainResponse) error {
|
||||||
expected := &structs.PreparedQueryExecuteRequest{
|
expected := &structs.PreparedQueryExecuteRequest{
|
||||||
Origin: structs.QuerySource{
|
|
||||||
Datacenter: srv.agent.config.Datacenter,
|
|
||||||
Node: srv.agent.config.NodeName,
|
|
||||||
},
|
|
||||||
Datacenter: "dc1",
|
Datacenter: "dc1",
|
||||||
QueryIDOrName: "my-id",
|
QueryIDOrName: "my-id",
|
||||||
Limit: 5,
|
Limit: 5,
|
||||||
|
|
Loading…
Reference in New Issue