Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update daily test start times and seed phrase #3584

Merged
merged 3 commits into from
Nov 19, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion applications/daily_tests/automatic_sync_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function run(options) {
"true";
// Set pruning horizon in config file if `pruned` command line arg is present
if (options.syncType === SyncType.Pruned) {
process.env[`TARI_BASE_NODE__${NETWORK}__PRUNING_HORIZON`] = 1000;
process.env[`TARI_BASE_NODE__${NETWORK}__PRUNING_HORIZON`] = 20;
}

if (options.forceSyncPeer) {
Expand Down
10 changes: 5 additions & 5 deletions applications/daily_tests/cron_jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async function runWalletRecoveryTest(instances) {
recoveredAmount,
} = await walletRecoveryTest({
seedWords:
"abandon rely pave boil case broken volume bracket own false sketch ordinary gown bitter strong unhappy shoulder salad season student public will monkey inquiry",
"cactus pool fuel skull chair casino season disorder flat crash wrist whisper decorate narrow oxygen remember minor among happy cricket embark blue ship sick",
log: LOG_FILE,
numWallets: instances,
baseDir,
Expand Down Expand Up @@ -126,13 +126,13 @@ async function main() {
});

// ------------------------- CRON ------------------------- //
new CronJob("0 7 * * *", () => runWalletRecoveryTest(1)).start();
new CronJob("0 2 * * *", () => runWalletRecoveryTest(1)).start();
//new CronJob("30 7 * * *", () => runWalletRecoveryTest(5)).start();
new CronJob("0 6 * * *", () =>
new CronJob("0 1 * * *", () =>
runBaseNodeSyncTest(SyncType.Archival)
).start();
new CronJob("30 6 * * *", () => runBaseNodeSyncTest(SyncType.Pruned)).start();
new CronJob("0 4 * * *", () =>
new CronJob("30 1 * * *", () => runBaseNodeSyncTest(SyncType.Pruned)).start();
new CronJob("0 0 * * *", () =>
git.pull(__dirname).catch((err) => {
failed("Failed to update git repo");
console.error(err);
Expand Down