Skip to content

Commit

Permalink
Merge pull request #724 from golemfactory/bugfix/JST-616/agreements-c…
Browse files Browse the repository at this point in the history
…leaning

test: enabled e2e test
  • Loading branch information
mgordel authored Dec 20, 2023
2 parents 2406dcd + 66d74b4 commit c6f6890
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/e2e/tasks.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,7 @@ describe("Task Executor", function () {
expect(logger.logs).not.toContain("Trying to redo the task");
});

/**
* TODO:
* For the test to work properly, the midAgreementDebitNoteIntervalSec parameter (which is in the beta version) is needed, so we temporarily skip this test
*/
it.skip("should clean up the agreements in the pool if the agreement has been terminated by provider", async () => {
it("should clean up the agreements in the pool if the agreement has been terminated by provider", async () => {
const eventTarget = new EventTarget();
const executor = await TaskExecutor.create({
package: "golem/alpine:latest",
Expand All @@ -237,6 +233,7 @@ describe("Task Executor", function () {
debitNotesFilter: () => Promise.resolve(false),
debitNotesAcceptanceTimeoutSec: 10,
midAgreementPaymentTimeoutSec: 10,
midAgreementDebitNoteIntervalSec: 10,
});
let createdAgreementsCount = 0;
eventTarget.addEventListener(EVENT_TYPE, (event) => {
Expand Down

0 comments on commit c6f6890

Please sign in to comment.