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: load slots on sales module start #510

Merged
merged 2 commits into from
Aug 15, 2023
Merged

Conversation

AuHau
Copy link
Member

@AuHau AuHau commented Aug 8, 2023

Closes #294
Closes #505

@AuHau AuHau requested a review from emizzle August 8, 2023 13:58
emizzle
emizzle previously approved these changes Aug 14, 2023
Copy link
Contributor

@emizzle emizzle left a comment

Choose a reason for hiding this comment

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

Nice work Adam! I'll approve now, but I think we should probably remove the ==.

return data0.requestId == data1.requestId and
data0.request == data1.request

check eventuallyCheck sales.agents.len == 2
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can use eventually (instead of eventuallyCheck) from asynctest, no?

Copy link
Member Author

Choose a reason for hiding this comment

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

I saw your message in Discord, make sense 👍

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, it seems there are some differences between eventuallyCheck and eventually. 😳 The tests in this file that still use eventuallyCheck started to fail when moved to eventually. 😳

I will merge it in its current form, and once we decide to make the full switch in the codebase, we should take a look at this.

tests/codex/sales/testsales.nim Outdated Show resolved Hide resolved
@AuHau AuHau merged commit 39efac1 into master Aug 15, 2023
8 checks passed
@AuHau AuHau deleted the fix/load-sales-on-restart branch August 15, 2023 09:39
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.

Load Slots on Node Start Add node restart
2 participants