htlcswitch: run all unit tests in parallel
This commit is contained in:
3 files changed
+24
-1
No files matched your search
@@ -13,6 +13,8 @@ import (
|
||||
// waiting queue, by executing methods in seprate goroutines which operates
|
||||
// with the same data.
|
||||
func TestWaitingQueueThreadSafety(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
q := newWaitingQueue()
|
||||
|
||||
a := make([]btcutil.Amount, 1000)
|
||||
|
||||
Reference in new issue
Block a user