utxonursery test: run tests in parallel

This commit is contained in:
Johan T. Halseth 2018-09-05 15:39:01 +02:00
parent 6d759bd8d9
commit 6d0deed885
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -336,6 +336,8 @@ func init() {
} }
func TestKidOutputSerialization(t *testing.T) { func TestKidOutputSerialization(t *testing.T) {
t.Parallel()
for i, kid := range kidOutputs { for i, kid := range kidOutputs {
var b bytes.Buffer var b bytes.Buffer
if err := kid.Encode(&b); err != nil { if err := kid.Encode(&b); err != nil {
@ -358,6 +360,8 @@ func TestKidOutputSerialization(t *testing.T) {
} }
func TestBabyOutputSerialization(t *testing.T) { func TestBabyOutputSerialization(t *testing.T) {
t.Parallel()
for i, baby := range babyOutputs { for i, baby := range babyOutputs {
var b bytes.Buffer var b bytes.Buffer
if err := baby.Encode(&b); err != nil { if err := baby.Encode(&b); err != nil {