Skip to content

Commit

Permalink
tests: disable most gpg integration tests on Windows
Browse files Browse the repository at this point in the history
These tests often stuck on Windows CI for unknown reasons. Let's mark them
ignored for the moment. The unknown_key test is allowed because it somehow
appears to pass.

https://github.com/martinvonz/jj/actions/runs/8009950119/job/21879789008?pr=3123#step:7:1487

#3140
  • Loading branch information
yuja committed Feb 25, 2024
1 parent 7525fac commit 4e1488a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tests/test_gpg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ fn backend(env: &GpgEnvironment) -> GpgBackend {
}

#[test]
#[cfg_attr(windows, ignore = "stuck randomly on Windows CI")] // FIXME
fn gpg_signing_roundtrip() {
gpg_guard!();

Expand All @@ -121,6 +122,7 @@ fn gpg_signing_roundtrip() {
}

#[test]
#[cfg_attr(windows, ignore = "stuck randomly on Windows CI")] // FIXME
fn gpg_signing_roundtrip_explicit_key() {
gpg_guard!();

Expand Down Expand Up @@ -187,6 +189,7 @@ fn unknown_key() {
}

#[test]
#[cfg_attr(windows, ignore = "stuck randomly on Windows CI")] // FIXME
fn invalid_signature() {
gpg_guard!();

Expand Down

0 comments on commit 4e1488a

Please sign in to comment.