Skip to content

Commit cb7520e

Browse files
authored
Merge pull request #1147 from lightninglabs/aux_signer_test_race_fixes
tapchannel: relax timing for quit and cancel tests
2 parents 7ebb640 + b6a7d60 commit cb7520e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tapchannel/auf_leaf_signer_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var (
4949
}
5050

5151
// sig job batch size when making more that one sig job.
52-
numSigJobs = int32(10)
52+
numSigJobs = int32(25)
5353

5454
// Threshold for trying to cancel or quit the aux leaf signer (allow
5555
// the signer to complete a third of the batch).
@@ -207,7 +207,6 @@ func TestAuxLeafSignerCancelAndQuit(t *testing.T) {
207207
// Another component could have sent the cancel signal; we'll
208208
// send that before the quit signal.
209209
close(cancelChan)
210-
time.Sleep(time.Millisecond)
211210

212211
// Send the quit signal; jobs at the end of the batch should not
213212
// be processed.

0 commit comments

Comments
 (0)