fix: adjust DEFAULT_TICKS_PER_SLOT to match main repo

This commit is contained in:
Michael Vines 2019-03-14 15:26:49 -07:00
parent 6fe0e08a80
commit 759d7b9cc2
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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 () => {

View File

@ -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';

View File

@ -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') {