test: reduce test output noise

pull/1117/head
nils måsén 3 years ago
parent ec43ecedc4
commit 2c8695683d

@ -1,6 +1,7 @@
package actions_test
import (
"github.com/sirupsen/logrus"
"testing"
"time"
@ -14,6 +15,7 @@ import (
func TestActions(t *testing.T) {
RegisterFailHandler(Fail)
logrus.SetOutput(GinkgoWriter)
RunSpecs(t, "Actions Suite")
}

@ -117,7 +117,6 @@ var _ = Describe("Digests", func() {
),
)
dig, err := digest.GetDigest(server.URL(), "token")
println(dig)
Expect(server.ReceivedRequests()).Should(HaveLen(1))
Expect(err).NotTo(HaveOccurred())
Expect(dig).To(Equal(mockDigest))

@ -1,6 +1,7 @@
package registry_test
import (
"github.com/sirupsen/logrus"
"testing"
. "github.com/onsi/ginkgo"
@ -9,5 +10,6 @@ import (
func TestRegistry(t *testing.T) {
RegisterFailHandler(Fail)
logrus.SetOutput(GinkgoWriter)
RunSpecs(t, "Registry Suite")
}

Loading…
Cancel
Save