Skip to content

Commit 6d7ee6a

Browse files
committed
chore: linter fixes
1 parent 874e568 commit 6d7ee6a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jsonwebtoken = { version = "10", features = ["aws_lc_rs"] }
9999
[[test]]
100100
name = "integration"
101101
path = "tests/integration/main.rs"
102-
required-features = ["rest"]
102+
required-features = ["rest", "integration-tests"]
103103

104104
[features]
105105
default = ["grpc", "rest", "rustls"]
@@ -120,6 +120,9 @@ derive = ["dep:inferadb-derive"]
120120
# WASM support
121121
wasm = ["getrandom/js"]
122122

123+
# Testing (not for production use)
124+
integration-tests = []
125+
123126
[package.metadata.docs.rs]
124127
all-features = true
125128
rustdoc-args = ["--cfg", "docsrs"]

tests/integration/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
//! inferadb dev start
1111
//!
1212
//! # Run integration tests (single-threaded to avoid conflicts)
13-
//! cargo test --test integration -- --test-threads=1
13+
//! cargo test --features integration-tests --test integration -- --test-threads=1
1414
//!
1515
//! # Run with verbose output
16-
//! cargo test --test integration -- --test-threads=1 --nocapture
16+
//! cargo test --features integration-tests --test integration -- --test-threads=1 --nocapture
1717
//!
1818
//! # Run a specific test
19-
//! cargo test --test integration test_fixture_creation -- --nocapture
19+
//! cargo test --features integration-tests --test integration test_fixture_creation -- --nocapture
2020
//! ```
2121
//!
2222
//! # Environment Variables

0 commit comments

Comments
 (0)