Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Fix user registration for e2e test #343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pkg/acme/acme_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
)

func TestAcme_E2E(t *testing.T) {
t.Skip("Temporarily skipping due to Let's Encrypt staging outage")
logrus.SetLevel(logrus.DebugLevel)
log := logrus.WithField("context", "test-mock")

Expand All @@ -29,7 +28,7 @@ func TestAcme_E2E(t *testing.T) {
mockKL.EXPECT().LegoHTTPPort().AnyTimes().Return(intstr.FromInt(8181))
mockKL.EXPECT().AcmeUser().MinTimes(1).Return(nil, errors.New("I am only mocked"))
mockKL.EXPECT().LegoURL().MinTimes(1).Return("https://acme-staging.api.letsencrypt.org/directory")
mockKL.EXPECT().LegoEmail().MinTimes(1).Return("kube-lego-e2e@example.com")
mockKL.EXPECT().LegoEmail().MinTimes(1).Return("kube-lego-e2e@jetstack.io")
mockKL.EXPECT().SaveAcmeUser(gomock.Any()).MinTimes(1).Return(nil)
mockKL.EXPECT().LegoRsaKeySize().AnyTimes().Return(2048)
mockKL.EXPECT().ExponentialBackoffMaxElapsedTime().MinTimes(1).Return(time.Minute * 5)
Expand Down