Discard log output from Vat heal during tests

This commit is contained in:
Rob Mulholand 2018-10-26 11:50:24 -05:00
parent 45a52a59f9
commit 0e5b23993a

View File

@ -1,6 +1,8 @@
package vat_heal_test package vat_heal_test
import ( import (
"io/ioutil"
"log"
"testing" "testing"
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
@ -11,3 +13,7 @@ func TestVatHeal(t *testing.T) {
RegisterFailHandler(Fail) RegisterFailHandler(Fail)
RunSpecs(t, "VatHeal Suite") RunSpecs(t, "VatHeal Suite")
} }
var _ = BeforeSuite(func() {
log.SetOutput(ioutil.Discard)
})