Browse Source

Fix test import

pull/2668/head
Kyle Havlovitz 8 years ago
parent
commit
bbfd25b530
No known key found for this signature in database
GPG Key ID: 8A5E6B173056AD6C
  1. 1
      command/agent/agent_test.go
  2. 3
      consul/prepared_query_endpoint_test.go

1
command/agent/agent_test.go

@ -10,6 +10,7 @@ import (
"os"
"path/filepath"
"reflect"
"strings"
"sync/atomic"
"testing"
"time"

3
consul/prepared_query_endpoint_test.go

@ -1808,10 +1808,9 @@ func TestPreparedQuery_Execute(t *testing.T) {
QueryOptions: structs.QueryOptions{Token: execToken},
}
var reply structs.PreparedQueryExecuteResponse
shuffled := false
for i := 0; i < 10; i++ {
var reply structs.PreparedQueryExecuteResponse
if err := msgpackrpc.CallWithCodec(codec1, "PreparedQuery.Execute", &req, &reply); err != nil {
t.Fatalf("err: %v", err)
}

Loading…
Cancel
Save