avoid rename after refactor

Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
This commit is contained in:
Ignacio Hagopian 2020-03-31 16:58:31 -03:00
parent 95c13ddd92
commit 1e810eb2c8

View File

@ -142,7 +142,7 @@ func makeDeal(t *testing.T, ctx context.Context, rseed int, client *impl.FullNod
// TODO: this sleep is only necessary because deals don't immediately get logged in the dealstore, we should fix this
time.Sleep(time.Second)
loop2:
loop:
for {
di, err := client.ClientGetDealInfo(ctx, *deal)
if err != nil {
@ -157,7 +157,7 @@ loop2:
t.Fatal("deal errored", di.Message)
case storagemarket.StorageDealActive:
fmt.Println("COMPLETE", di)
break loop2
break loop
}
fmt.Println("Deal state: ", storagemarket.DealStates[di.State])
time.Sleep(time.Second / 2)