mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01: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
|
package actions_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/sirupsen/logrus"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
|
@ -14,6 +15,7 @@ import (
|
||||||
|
|
||||||
func TestActions(t *testing.T) {
|
func TestActions(t *testing.T) {
|
||||||
RegisterFailHandler(Fail)
|
RegisterFailHandler(Fail)
|
||||||
|
logrus.SetOutput(GinkgoWriter)
|
||||||
RunSpecs(t, "Actions Suite")
|
RunSpecs(t, "Actions Suite")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,6 @@ var _ = Describe("Digests", func() {
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
dig, err := digest.GetDigest(server.URL(), "token")
|
dig, err := digest.GetDigest(server.URL(), "token")
|
||||||
println(dig)
|
|
||||||
Expect(server.ReceivedRequests()).Should(HaveLen(1))
|
Expect(server.ReceivedRequests()).Should(HaveLen(1))
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
Expect(dig).To(Equal(mockDigest))
|
Expect(dig).To(Equal(mockDigest))
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
package registry_test
|
package registry_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/sirupsen/logrus"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
. "github.com/onsi/ginkgo"
|
. "github.com/onsi/ginkgo"
|
||||||
|
|
@ -9,5 +10,6 @@ import (
|
||||||
|
|
||||||
func TestRegistry(t *testing.T) {
|
func TestRegistry(t *testing.T) {
|
||||||
RegisterFailHandler(Fail)
|
RegisterFailHandler(Fail)
|
||||||
|
logrus.SetOutput(GinkgoWriter)
|
||||||
RunSpecs(t, "Registry Suite")
|
RunSpecs(t, "Registry Suite")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue