Discard log output from Vat heal during tests
This commit is contained in:
parent
45a52a59f9
commit
0e5b23993a
@ -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)
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user