Skip to content

Commit 8fb157d

Browse files
committed
chore: Combine feature flag to single one for CI test
1 parent 10bb80c commit 8fb157d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,4 @@ path = "src/main.rs"
7878
name = "openzeppelin-monitor"
7979

8080
[features]
81-
test-log = []
82-
test-config = []
81+
test-ci-only = []

src/utils/logging/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ mod tests {
381381
}
382382

383383
#[test]
384-
#[cfg_attr(not(feature = "test-log"), ignore)]
384+
#[cfg_attr(not(feature = "test-ci-only"), ignore)]
385385
fn test_log_error() {
386386
use tracing_test::traced_test;
387387

tests/integration/monitor/execution.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ fn test_load_from_path_trait_implementation_error() {
842842
// This test is ignored because it creates files in the config directory
843843
// and we don't want to pollute the default config directory
844844
#[test]
845-
#[cfg_attr(not(feature = "test-config"), ignore)]
845+
#[cfg_attr(not(feature = "test-ci-only"), ignore)]
846846
fn test_load_from_path_with_mixed_services() {
847847
// Create default config paths for when we use None for path
848848
let config_path = PathBuf::from("config");

0 commit comments

Comments
 (0)