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

Commit 933b34b

Browse files
jesseshiehJesse
authored andcommitted
Fix user registration for e2e test
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>
1 parent d9ff008 commit 933b34b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/acme/acme_e2e_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import (
1616
)
1717

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

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

0 commit comments

Comments
 (0)