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: prevent immediate run of wallet recovery on cron script #3260

Merged
merged 2 commits into from
Sep 6, 2021

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Aug 30, 2021

Description

When running cron, the two wallet recovery tests would run immediately
and not be awaited (Promises are eager in js)

Motivation and Context

Minor fix

How Has This Been Tested?

Script run and tests did not immediately start

@sdbondi sdbondi changed the title fix: prevent initial run of wallet recovery fix: prevent immediate run of wallet recovery on cron script Aug 30, 2021
SWvheerden
SWvheerden previously approved these changes Aug 30, 2021
Copy link
Collaborator

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

applications/daily_tests/automatic_recovery_test.js Outdated Show resolved Hide resolved
stringhandler
stringhandler previously approved these changes Aug 30, 2021
@aviator-app
Copy link
Contributor

aviator-app bot commented Aug 30, 2021

PR queued successfully. Your position in queue is: 9

When running cron, the two walet receovery tests would run immediately
and not be awaited (Promises are eager in js)
- Fix " ReferenceError: Cannot access recoveredAmount before
  initialization"
@aviator-app aviator-app bot merged commit 969b306 into tari-project:development Sep 6, 2021
@sdbondi sdbondi deleted the tooling-fix-cron branch September 8, 2021 04:25
Cifko pushed a commit to Cifko/tari that referenced this pull request Sep 10, 2021
…oject#3260)


Description
---
When running cron, the two wallet recovery tests would run immediately
and not be awaited (Promises are eager in js)

Motivation and Context
---
Minor fix

How Has This Been Tested?
---
Script run and tests did not immediately start
@sdbondi sdbondi restored the tooling-fix-cron branch February 3, 2022 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants