Fix test import

pull/2668/head
Kyle Havlovitz 2017-01-23 21:11:13 -05:00
parent a55968f009
commit bbfd25b530
No known key found for this signature in database
GPG Key ID: 8A5E6B173056AD6C
2 changed files with 2 additions and 2 deletions

View File

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

View File

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