Skip to content

Commit 06043cc

Browse files
authored
Merge pull request #1174 from golemfactory/fix-abort-activity-in-test
Fix e2e test
2 parents ed6c117 + 2614c01 commit 06043cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/resourceRentalPool.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,9 @@ describe("ResourceRentalPool", () => {
214214
// wait for init and destroy the exe-unit created automatically on startup rental
215215
await rental.getExeUnit();
216216
await rental.destroyExeUnit();
217+
// the call to `.createActivity` will be aborted
217218
await expect(rental.getExeUnit(10)).rejects.toThrow(
218-
new GolemAbortError("Initializing of the exe-unit has been aborted due to a timeout"),
219+
new GolemAbortError("Failed to create activity: Request aborted"),
219220
);
220221
});
221222

0 commit comments

Comments
 (0)