mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
test: reduce test output noise
This commit is contained in:
parent
ec43ecedc4
commit
2c8695683d
3 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue