Skip to content

Commit

Permalink
chore: set correct timeouts for LP-API bouncer test
Browse files Browse the repository at this point in the history
  • Loading branch information
j4m1ef0rd committed Nov 26, 2024
1 parent b12c7b1 commit df77ae3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions bouncer/tests/lp_api_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { getChainflipApi, observeEvent } from '../shared/utils/substrate';
import { ExecutableTest } from '../shared/executable_test';

/* eslint-disable @typescript-eslint/no-use-before-define */
export const testLpApi = new ExecutableTest('LP-API', main, 1000);
export const testLpApi = new ExecutableTest('LP-API', main, 200);

type RpcAsset = {
asset: string;
Expand Down Expand Up @@ -397,27 +397,27 @@ async function main() {
const registerLiquidityRefundAddress = new ExecutableTest(
'LP-API::Register-Liquidity-Refund-Address',
testRegisterLiquidityRefundAddress,
500,
30,
);
const LiquidityDeposit = new ExecutableTest(
'LP-API::Liquidity-Deposit',
testLiquidityDeposit,
500,
60,
);
const WithdrawAsset = new ExecutableTest('LP-API::Withdraw-Asset', testWithdrawAsset, 500);
const WithdrawAsset = new ExecutableTest('LP-API::Withdraw-Asset', testWithdrawAsset, 60);
const RegisterWithExistingLpAccount = new ExecutableTest(
'LP-API::testRegisterWithExistingLpAccount',
testRegisterWithExistingLpAccount,
500,
15,
);
const RangeOrder = new ExecutableTest('LP-API::Range-Order', testRangeOrder, 500);
const LimitOrder = new ExecutableTest('LP-API::Limit-Order', testLimitOrder, 500);
const RangeOrder = new ExecutableTest('LP-API::Range-Order', testRangeOrder, 60);
const LimitOrder = new ExecutableTest('LP-API::Limit-Order', testLimitOrder, 120);
const GetOpenSwapChannels = new ExecutableTest(
'LP-API::Get-Open-Swap-Channels',
testGetOpenSwapChannels,
500,
15,
);
const TransferAsset = new ExecutableTest('LP-API::TransferAsset', testTransferAsset, 500);
const TransferAsset = new ExecutableTest('LP-API::TransferAsset', testTransferAsset, 30);

// Provide the amount of liquidity needed for the tests
await provideLiquidityAndTestAssetBalances();
Expand Down

0 comments on commit df77ae3

Please sign in to comment.