Testutil and Pause

Part of the testutil code is not recognising pause
This commit is contained in:
martinsumner 2016-11-07 12:18:00 +00:00
parent 8035583301
commit e2670e6e8c

View file

@ -391,7 +391,10 @@ put_altered_indexed_objects(Book, Bucket, KSpecL, RemoveOld2i) ->
V,
IndexGen,
AddSpc),
ok = book_riakput(Book, O, AltSpc),
case book_riakput(Book, O, AltSpc) of
ok - > ok;
pause -> timer:sleep(?SLOWOFFER_DELAY)
end,
{K, AltSpc} end,
KSpecL),
{RplKSpecL, V}.