remove tests that check cancelled slots and requests were filtered

This commit is contained in:
Eric Mastro 2022-11-24 22:13:06 +11:00
parent 0dd02ef31a
commit d9958d493a
No known key found for this signature in database
GPG Key ID: 141E3048D95A4E63
1 changed files with 0 additions and 14 deletions

View File

@ -705,12 +705,6 @@ describe("Marketplace", function () {
expect(await marketplace.myRequests()).to.deep.equal([requestId(request)])
})
it("removes request from list when cancelled", async function () {
await marketplace.requestStorage(request)
await waitUntilCancelled(request)
expect(await marketplace.myRequests()).to.deep.equal([])
})
it("removes request from list when funds are withdrawn", async function () {
await marketplace.requestStorage(request)
await waitUntilCancelled(request)
@ -766,14 +760,6 @@ describe("Marketplace", function () {
expect(await marketplace.mySlots()).to.deep.equal([slotId(slot1)])
})
it("returns no slots when cancelled", async function () {
await marketplace.fillSlot(slot.request, slot.index, proof)
let slot1 = { ...slot, index: slot.index + 1 }
await marketplace.fillSlot(slot.request, slot1.index, proof)
await waitUntilCancelled(request)
expect(await marketplace.mySlots()).to.deep.equal([])
})
it("removes active slots for all hosts in a request when it fails", async function () {
let halfOfSlots = request.ask.slots / 2