Skip to content

chore(client/legacy): remove disabled client_happy_eyeballs test - #336

Merged
cratelyn merged 1 commit into
masterfrom
kate/happy-eyeballs-disabled
Sep 30, 2026
Merged

cratelyn merged 1 commit into
masterfrom
kate/happy-eyeballs-disabled

Conversation

@cratelyn

@cratelyn cratelyn commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

this test was completely disabled in #65. because this test is always
disabled, this can be removed.

fixes the following warning:

; cargo test --features full
   Compiling hyper-util v0.1.21 (/hyper-util)
warning: unused attribute
    --> src/client/legacy/connect/http.rs:1189:66
     |
1189 |     #[cfg_attr(not(feature = "__internal_happy_eyeballs_tests"), ignore)]
     |                                                                  ^^^^^^ help: remove this attribute
     |
note: attribute also specified here
    --> src/client/legacy/connect/http.rs:1188:5
     |
1188 |     #[ignore] // TODO
     |     ^^^^^^^^^
     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default

this test was completely disabled in #65. because this test is always
disabled, this can be removed.

fixes the following warning:

```
; cargo test --features full
   Compiling hyper-util v0.1.21 (/hyper-util)
warning: unused attribute
    --> src/client/legacy/connect/http.rs:1189:66
     |
1189 |     #[cfg_attr(not(feature = "__internal_happy_eyeballs_tests"), ignore)]
     |                                                                  ^^^^^^ help: remove this attribute
     |
note: attribute also specified here
    --> src/client/legacy/connect/http.rs:1188:5
     |
1188 |     #[ignore] // TODO
     |     ^^^^^^^^^
     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
```

Signed-off-by: katelyn martin <git@katelyn.world>
@cratelyn
cratelyn marked this pull request as ready for review September 30, 2026 22:26
@cratelyn cratelyn self-assigned this Sep 30, 2026
@cratelyn cratelyn added C-chore Category: chore. a general chore or maintenance task. A-legacy-client Area: legacy client. labels Sep 30, 2026
Comment on lines -1187 to -1190
#[test]
#[ignore] // TODO
#[cfg_attr(not(feature = "__internal_happy_eyeballs_tests"), ignore)]
fn client_happy_eyeballs() {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i note the TODO here, so we could alternatively comment out the cfg_attr line instead. this has been inactive for almost 3 years now however, so deleting seemed like the pragmatic choice to me.

@cratelyn
cratelyn merged commit fb070b2 into master Sep 30, 2026
18 checks passed
@cratelyn
cratelyn deleted the kate/happy-eyeballs-disabled branch September 30, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-legacy-client Area: legacy client. C-chore Category: chore. a general chore or maintenance task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants