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

Test multicore SDR support #6479

Merged
merged 4 commits into from
Jun 16, 2021
Merged

Test multicore SDR support #6479

merged 4 commits into from
Jun 16, 2021

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Jun 14, 2021

This test works when run individually, but broken when it runs with any other tests as proofs expect the call to FilInitLogFd to be the very first proofs call.

Probably acceptable to work around by just running this test individually in a separate step on Circle

@BigLep
Copy link
Member

BigLep commented Jun 14, 2021

Great bias for action here @magik6k! Thanks for finding a way to catch this early and prevent more manual effort.

@magik6k magik6k marked this pull request as ready for review June 15, 2021 16:06
@magik6k magik6k requested a review from arajasek June 15, 2021 16:26
Copy link
Contributor

@arajasek arajasek left a comment

Choose a reason for hiding this comment

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

Not the most unhacky thing I've ever seen, but eh.


ok := false
for _, s := range strings.Split(rustLogger.String(), "\n") {
if strings.Contains(s, "create_label::multi") {
Copy link
Member

Choose a reason for hiding this comment

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

can this be used as a hard ✅ ? when the things was down during the weekend, a miner reported that in his log its showing multi-core however, single-core was used in reality

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, this tests that the multicore feature works. If it uses only a single core, then that's a separate bug, and I'm not sure if we have a good way to test that from Go

@magik6k magik6k merged commit 4bd2587 into master Jun 16, 2021
@magik6k magik6k deleted the test/multicore-sdr branch June 16, 2021 09:02
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