Skip to content

Commit 17396cc

Browse files
committed
Tweak nativeTokenStreaming e2e test to make likelihood of false positive lower
The test occasionally succeeds, likely because the streaming amount probably accumulates sufficiently for the transfer amount. We decrease the amountPerSecond, and increase the transferAmount
1 parent 1356d4c commit 17396cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/delegator-e2e/test/caveats/nativeTokenStreaming.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ test('Bob redeems the delegation with exact initial amount', async () => {
184184
test('Bob attempts to redeem the delegation with amount exceeding initial allowance', async () => {
185185
const initialAmount = parseEther('5');
186186
const maxAmount = parseEther('20');
187-
const amountPerSecond = parseEther('2');
187+
const amountPerSecond = parseEther('1');
188188
const startTime = currentTime;
189-
const transferAmount = parseEther('6');
189+
const transferAmount = parseEther('50');
190190

191191
const targetAddress = randomAddress();
192192

0 commit comments

Comments
 (0)