test: forgot one
This commit is contained in:
parent
6a839ba8e5
commit
56baff4e18
1 changed files with 12 additions and 1 deletions
|
@ -126,7 +126,18 @@ func TestCreateQ(t *testing.T) {
|
|||
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
res, err := query.CreateQuery(test.opts)
|
||||
|
||||
var (
|
||||
res util.Response
|
||||
err error
|
||||
)
|
||||
for i := 0; i <= test.opts.Request.Retries; i++ {
|
||||
res, err = query.CreateQuery(test.opts)
|
||||
if err == nil {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
assert.NilError(t, err)
|
||||
assert.Assert(t, res != util.Response{})
|
||||
|
||||
|
|
Loading…
Reference in a new issue