htlcswitch: run all unit tests in parallel

This commit is contained in:
Olaoluwa Osuntokun committed 2017-06-17 00:41:47 +02:00
1 parent a43b5658bb
commit bb9bc9205a
3 files changed
+24 -1

No files matched your search

+2
View File
@@ -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)