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 the voting-benchmark test #82

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Fix the voting-benchmark test #82

merged 1 commit into from
Jan 25, 2024

Conversation

ineiti
Copy link
Member

@ineiti ineiti commented Jan 19, 2024

This PR follows updates to Dela to make the voting benchmark run again.

@ineiti ineiti self-assigned this Jan 19, 2024
@ineiti ineiti marked this pull request as draft January 19, 2024 14:46
@ineiti ineiti force-pushed the voting_benchmark branch 5 times, most recently from 979a825 to 38ea046 Compare January 25, 2024 08:22
@ineiti ineiti marked this pull request as ready for review January 25, 2024 08:29
@ineiti ineiti requested review from lanterno and PascalinDe January 25, 2024 08:29
@@ -293,6 +293,7 @@ func getIntegrationTestCrash(numNodes, numVotes, failingNodes int) func(*testing
form, err = getForm(formFac, formID, nodes[0].GetOrdering())
t.Logf("PubsharesUnit: %v", form.PubsharesUnits)
require.NoError(t, err)
// LG@240124: had some fuzzy failures when decrypting the ballots here.
Copy link
Member

Choose a reason for hiding this comment

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

can you please add a ticket w/ this comment and some details?

Copy link
Member Author

Choose a reason for hiding this comment

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

Added #90 and referenced it here and in line 288.

@@ -114,9 +115,12 @@ func (m txManager) addAndWait(args ...txn.Arg) ([]byte, error) {

err = m.n.GetPool().Add(sentTxn)
if err != nil {
return nil, xerrors.Errorf("failed to Add: %v", err)
fmt.Printf("Failed to add transaction: %v", err)
continue
Copy link
Member

Choose a reason for hiding this comment

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

that's indeed odd that an retry-loop failed on the first error, I guess it makes your sense with your change

Copy link
Member Author

Choose a reason for hiding this comment

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

Even the more so that one of the errors is the famous "wrong nonce" error, which happens quite often and needs a new transaction to be created...

This PR follows updates to Dela to make the benchmark test run again.
@ineiti ineiti requested a review from PascalinDe January 25, 2024 10:21
@ineiti ineiti merged commit 6ada22a into main Jan 25, 2024
11 checks passed
@ineiti ineiti deleted the voting_benchmark branch January 25, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants