@rotorsoft/act-tck 1.27.25 → 1.27.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1665,7 +1665,14 @@ var runStoreTck = (options) => {
1665
1665
  const mine = leased.find((l) => l.stream === s);
1666
1666
  expect8(mine).toBeDefined();
1667
1667
  expect8(mine.by).toBe(by);
1668
- await store.ack([{ ...mine, at: mine.at + 1 }]);
1668
+ expect8(mine.retry).toBe(0);
1669
+ const acked = await store.ack([
1670
+ { ...mine, at: mine.at + 1 }
1671
+ ]);
1672
+ const ackedMine = acked.find((l) => l.stream === s);
1673
+ expect8(ackedMine).toBeDefined();
1674
+ expect8(ackedMine.retry).toBe(-1);
1675
+ expect8(ackedMine.lane).toBe(mine.lane);
1669
1676
  });
1670
1677
  it7("does not double-claim a held lease", async () => {
1671
1678
  const s = `claim-held-${uid()}`;