From 4a89a9fa16079e20e7b9e98471a182eb96078bb1 Mon Sep 17 00:00:00 2001 From: Joshua Casey Date: Mon, 18 Sep 2023 10:45:32 -0500 Subject: [PATCH] Update LDAP integration tests for changes in github.com/go-ldap/ldap/v3 --- test/integration/ldap_client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/ldap_client_test.go b/test/integration/ldap_client_test.go index 04eead88..99b5c638 100644 --- a/test/integration/ldap_client_test.go +++ b/test/integration/ldap_client_test.go @@ -598,7 +598,7 @@ func TestLDAPSearch_Parallel(t *testing.T) { username: "pinny", password: pinnyPassword, provider: upstreamldap.New(*providerConfig(func(p *upstreamldap.ProviderConfig) { p.ConnectionProtocol = upstreamldap.StartTLS })), - wantError: testutil.WantSprintfErrorString(`error dialing host "127.0.0.1:%s": unable to read LDAP response packet: unexpected EOF`, ldapsLocalhostPort), + wantError: testutil.WantSprintfErrorString(`error dialing host "127.0.0.1:%s": unable to read LDAP response packet: EOF`, ldapsLocalhostPort), }, { name: "when the UsernameAttribute attribute has multiple values in the entry",