-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
a4c7a6c
to
82b8bf3
Compare
979a825
to
38ea046
Compare
integration/integration_test.go
Outdated
@@ -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. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
38ea046
to
107a297
Compare
This PR follows updates to Dela to make the voting benchmark run again.