Skip to content

Commit 6ff08f9

Browse files
authored
minor: fix gssapi tests (#1502)
1 parent 3cfb033 commit 6ff08f9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ buildvariants:
261261
display_name: "GSSAPI Authentication - Linux"
262262
patchable: true
263263
run_on:
264-
- ubuntu2204-small
264+
- rhel87-small
265265
tasks:
266266
- test-gssapi-auth
267267

@@ -278,7 +278,7 @@ buildvariants:
278278
display_name: "GSSAPI Authentication - Windows"
279279
patchable: true
280280
run_on:
281-
- windows-vsCurrent-small
281+
- windows-64-vs2017-small
282282
tasks:
283283
- test-gssapi-auth
284284

src/client/auth/gssapi.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ pub(crate) async fn authenticate_stream(
5555
&properties.canonicalize_host_name,
5656
resolver_config,
5757
)
58-
.await?;
58+
.await
59+
.unwrap_or_else(|_| hostname.clone());
5960

6061
let user_principal = credential.username.clone();
6162
let service_principal = properties.service_principal_name(&hostname, user_principal.as_ref());

0 commit comments

Comments
 (0)