Skip to content

Commit b9feb6e

Browse files
Merge pull request #228 from Screenly/disable-flaky-tests
Temporarily disable tests overriding env. They are very unstable on macos.
2 parents 901f57f + 818ca13 commit b9feb6e

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ mod tests {
12161216
}
12171217

12181218
#[test]
1219-
#[ignore]
1219+
#[cfg_attr(target_os = "macos", ignore)]
12201220
fn test_transform_edge_app_path_to_manifest_without_path_should_return_correct_path() {
12211221
let dir = tempdir().unwrap();
12221222
let dir_path = dir.path();

src/commands/edge_app/utils.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -979,6 +979,7 @@ mod tests {
979979
}
980980

981981
#[test]
982+
#[cfg_attr(target_os = "macos", ignore)]
982983
fn test_transform_edge_app_instance_path_to_instance_manifest_should_return_current_dir_with_()
983984
{
984985
let dir = tempdir().unwrap();
@@ -991,7 +992,7 @@ mod tests {
991992
}
992993

993994
#[test]
994-
#[ignore]
995+
#[cfg_attr(target_os = "macos", ignore)]
995996
fn test_transform_edge_app_instance_path_to_instance_manifest_when_path_provided_should_return_path_with_instance_manifest(
996997
) {
997998
let dir = tempdir().unwrap();
@@ -1025,6 +1026,7 @@ mod tests {
10251026
}
10261027

10271028
#[test]
1029+
#[cfg_attr(target_os = "macos", ignore)]
10281030
fn test_transform_edge_app_instance_path_to_instance_manifest_with_env_instance_override_should_return_overrided_manifest_path(
10291031
) {
10301032
let dir = tempdir().unwrap();
@@ -1052,6 +1054,7 @@ mod tests {
10521054
}
10531055

10541056
#[test]
1057+
#[cfg_attr(target_os = "macos", ignore)]
10551058
fn test_transform_edge_app_path_to_manifest_should_return_current_dir_with_() {
10561059
let dir = tempdir().unwrap();
10571060
let dir_path = dir.path();
@@ -1093,7 +1096,7 @@ mod tests {
10931096
}
10941097

10951098
#[test]
1096-
#[ignore]
1099+
#[cfg_attr(target_os = "macos", ignore)]
10971100
fn test_transform_edge_app_path_to_manifest_with_env_instance_override_should_return_overrided_manifest_path(
10981101
) {
10991102
let dir = tempdir().unwrap();

0 commit comments

Comments
 (0)