Skip to content

Commit

Permalink
test: reduce test output noise
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel committed Nov 1, 2021
1 parent ec43ece commit 2c86956
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions internal/actions/actions_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package actions_test

import (
"github.com/sirupsen/logrus"
"testing"
"time"

Expand All @@ -14,6 +15,7 @@ import (

func TestActions(t *testing.T) {
RegisterFailHandler(Fail)
logrus.SetOutput(GinkgoWriter)
RunSpecs(t, "Actions Suite")
}

Expand Down
1 change: 0 additions & 1 deletion pkg/registry/digest/digest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 2 additions & 0 deletions pkg/registry/registry_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package registry_test

import (
"github.com/sirupsen/logrus"
"testing"

. "github.com/onsi/ginkgo"
Expand All @@ -9,5 +10,6 @@ import (

func TestRegistry(t *testing.T) {
RegisterFailHandler(Fail)
logrus.SetOutput(GinkgoWriter)
RunSpecs(t, "Registry Suite")
}

0 comments on commit 2c86956

Please sign in to comment.