Skip to content

Commit

Permalink
un-ignore test: proc_macro_in_artifact_dep with a network error"
Browse files Browse the repository at this point in the history
  • Loading branch information
elchukc committed Oct 30, 2024
1 parent 9abcaef commit 165cf7c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions tests/testsuite/artifact_dep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1777,9 +1777,7 @@ perhaps a crate was updated and forgotten to be re-vendored?
.run();
}

// FIXME: `download_accessible` should work properly for artifact dependencies
#[cargo_test]
#[ignore = "broken, needs download_accessible fix"]
fn proc_macro_in_artifact_dep() {
// Forcing FeatureResolver to check a proc-macro for a dependency behind a
// target dependency.
Expand All @@ -1795,6 +1793,7 @@ fn proc_macro_in_artifact_dep() {
name = "pm"
version = "1.0.0"
edition = "2015"
resolver = "2"
[lib]
proc-macro = true
Expand Down Expand Up @@ -1829,7 +1828,17 @@ fn proc_macro_in_artifact_dep() {

p.cargo("check -Z bindeps")
.masquerade_as_nightly_cargo(&["bindeps"])
.with_stderr_data(str![[r#""#]])
.with_stderr_data(str![[r#"
[UPDATING] `dummy-registry` index
[LOCKING] 2 packages to latest compatible versions
[DOWNLOADING] crates ...
[ERROR] failed to download from `[ROOTURL]/dl/pm/1.0.0/download`
Caused by:
[37] Could not read a file:// file (Couldn't open file [ROOT]/dl/pm/1.0.0/download)
"#]])
.with_status(101)
.run();
}

Expand Down

0 comments on commit 165cf7c

Please sign in to comment.