fix: adjust DEFAULT_TICKS_PER_SLOT to match main repo
This commit is contained in:
parent
6fe0e08a80
commit
759d7b9cc2
|
@ -3,5 +3,5 @@
|
|||
// These constants should match the values in
|
||||
// https://github.com/solana-labs/solana/blob/master/sdk/src/timing.rs
|
||||
export const NUM_TICKS_PER_SECOND = 10;
|
||||
export const DEFAULT_TICKS_PER_SLOT = 80;
|
||||
export const DEFAULT_TICKS_PER_SLOT = 160;
|
||||
export const DEFAULT_SLOTS_PER_EPOCH = 64;
|
||||
|
|
|
@ -14,7 +14,7 @@ import {newAccountWithLamports} from './new-account-with-lamports';
|
|||
|
||||
if (!mockRpcEnabled) {
|
||||
// The default of 5 seconds is too slow for live testing sometimes
|
||||
jest.setTimeout(15000);
|
||||
jest.setTimeout(30000);
|
||||
}
|
||||
|
||||
test('load BPF program', async () => {
|
||||
|
|
|
@ -15,7 +15,7 @@ import {sleep} from '../src/util/sleep';
|
|||
|
||||
if (!mockRpcEnabled) {
|
||||
// The default of 5 seconds is too slow for live testing sometimes
|
||||
jest.setTimeout(15000);
|
||||
jest.setTimeout(30000);
|
||||
}
|
||||
|
||||
const errorMessage = 'Invalid request';
|
||||
|
|
|
@ -10,7 +10,7 @@ import {sleep} from '../src/util/sleep';
|
|||
|
||||
if (!mockRpcEnabled) {
|
||||
// The default of 5 seconds is too slow for live testing sometimes
|
||||
jest.setTimeout(30000);
|
||||
jest.setTimeout(60000);
|
||||
}
|
||||
|
||||
function mockGetSignatureStatus(result: string = 'Confirmed') {
|
||||
|
|
Loading…
Reference in New Issue