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

Commit

Permalink
Fix user registration for e2e test
Browse files Browse the repository at this point in the history
Re-enables the e2e test now that Let's Encrypt Staging is working.
Changes user email domain now that Let's Encrypt no longer allows users with the domain example.com.

Signed-off-by: Jesse <jesse@gigalixir.com>
  • Loading branch information
jesseshieh authored and Jesse committed Sep 30, 2018
1 parent d9ff008 commit 933b34b
Showing 1 changed file with 1 addition and 2 deletions.
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

0 comments on commit 933b34b

Please sign in to comment.