diff --git a/pkg/sqlite/transaction_test.go b/pkg/sqlite/transaction_test.go index 8904ba7d4..00aa9c2de 100644 --- a/pkg/sqlite/transaction_test.go +++ b/pkg/sqlite/transaction_test.go @@ -80,7 +80,7 @@ func waitForOtherThread(c chan struct{}) error { func TestConcurrentReadTxn(t *testing.T) { var wg sync.WaitGroup ctx := context.Background() - c := make(chan struct{}, 1) + c := make(chan struct{}) // first thread wg.Add(2) @@ -155,7 +155,7 @@ func TestConcurrentReadTxn(t *testing.T) { func TestConcurrentExclusiveAndReadTxn(t *testing.T) { var wg sync.WaitGroup ctx := context.Background() - c := make(chan struct{}, 1) + c := make(chan struct{}) // first thread wg.Add(2)