mirror of
https://github.com/nushell/nushell.git
synced 2025-06-20 09:58:15 +02:00
Ignore problematic overlapping tests for SHLVL (#15430)
The `$env.SHLVL` tests, while improved, still cause CI (usually local) an irritating percentage of the time. Until we can come with a better way of testing, we're going to ignore them.
This commit is contained in:
parent
5d32cd2c40
commit
3030608de0
@ -246,6 +246,11 @@ fn env_shlvl_commandstring_does_not_increment() {
|
||||
// test run will likely hang, at least for some users.
|
||||
// Instead, use -e / --execute with an `exit` to test REPL
|
||||
// functionality as demonstrated below.
|
||||
//
|
||||
// We've also learned that `-e 'exit'` is not enough to
|
||||
// prevent failures entirely. For now we're going to ignore
|
||||
// these tests until we can find a better solution.
|
||||
#[ignore = "Causing hangs when both tests overlap"]
|
||||
#[test]
|
||||
fn env_shlvl_in_repl() {
|
||||
let actual = nu!("
|
||||
@ -256,6 +261,7 @@ fn env_shlvl_in_repl() {
|
||||
assert_eq!(actual.out, "6");
|
||||
}
|
||||
|
||||
#[ignore = "Causing hangs when both tests overlap"]
|
||||
#[test]
|
||||
fn env_shlvl_in_exec_repl() {
|
||||
let actual = nu!(r#"
|
||||
|
Loading…
x
Reference in New Issue
Block a user