Skip to content

Commit

Permalink
Temporarily disable UI tests
Browse files Browse the repository at this point in the history
- Too many sporadic errors occlude actual problems; see #400
- These tests will be re-enabled once the big refactor is complete
  • Loading branch information
cyqsimon committed Apr 15, 2024
1 parent 47378f6 commit f7b5b30
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ repository = "https://github.com/imsnif/bandwhich"
rust-version = "1.74.0"
description = "Display current network utilization by process, connection and remote IP/hostname"

[features]
default = []
# UI tests temporarily disabled by default, until big refactor is done
ui_test = []

[dependencies]
anyhow = { version = "1.0.82", features = ["backtrace"] }
async-trait = "0.1.80"
Expand Down
1 change: 1 addition & 0 deletions src/tests/cases/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pub mod raw_mode;
pub mod test_utils;
#[cfg(feature = "ui_test")]
pub mod ui;
2 changes: 2 additions & 0 deletions src/tests/cases/test_utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(not(feature = "ui_test"), allow(dead_code))]

use std::{
collections::HashMap,
io::Write,
Expand Down

0 comments on commit f7b5b30

Please sign in to comment.