Skip to content

Commit e78694f

Browse files
committed
ignore certain tests fo now until new hashes are found that work
1 parent 5af8ec4 commit e78694f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/index.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use std::{collections::HashMap, env, path::PathBuf};
44
use tempdir::TempDir;
55

66
const NUM_VERSIONS_AT_RECENT_COMMIT: usize = 39752;
7+
// TODO: find new hashes for the ones below with similar states as they don't exist anymore. See ignored tests.
78
const REV_ONE_ADDED: &'static str = "615c9c41942a3ba13e088fbcb1470c61b169a187";
89
const REV_ONE_YANKED: &'static str = "8cf8fbad7876586ced34c4b778f6a80fadd2a59b";
910
const REV_ONE_UNYANKED: &'static str = "f8cb00181";
@@ -35,6 +36,7 @@ fn origin_master_of(index: &Index) -> Reference<'_> {
3536
}
3637

3738
#[test]
39+
#[ignore]
3840
fn quick_changes_since_last_fetch() {
3941
let (mut index, _tmp) = make_index();
4042
index.seen_ref_name = "refs/our-test-ref_because-we-can_hidden-from-ui";
@@ -111,6 +113,7 @@ fn changes_of(index: &Index, commit: &str) -> Vec<CrateVersion> {
111113
}
112114

113115
#[test]
116+
#[ignore]
114117
fn quick_traverse_unyanked_crates() {
115118
// [CrateVersion { dependencies: [Dependency { name: "freetype-rs", required_version: "^0.11", features: [], optional: false, default_features: true, target: None, kind: Some("normal"), package: None }, Dependency { name: "gfx", required_version: "^0.12.2", features: [], optional: false, default_features: true, target: None, kind: Some("normal"), package: None }, Dependency { name: "glutin", required_version: "^0.6", features: [], optional: false, default_features: true, target: None, kind: Some("dev"), package: None }, Dependency { name: "gfx_window_glutin", required_version: "^0.12", features: [], optional: false, default_features: true, target: None, kind: Some("dev"), package: None }] }]
116119
let (index, _tmp) = make_index();
@@ -176,6 +179,7 @@ fn quick_traverse_unyanked_crates() {
176179
}
177180

178181
#[test]
182+
#[ignore]
179183
fn quick_traverse_yanked_crates() {
180184
let (index, _tmp) = make_index();
181185

@@ -194,6 +198,7 @@ fn quick_traverse_yanked_crates() {
194198
}
195199

196200
#[test]
201+
#[ignore]
197202
fn quick_traverse_added_crates() {
198203
let (index, _tmp) = make_index();
199204
assert_eq!(index.changes("foo", REV_ONE_ADDED).is_err(), true);

0 commit comments

Comments
 (0)