mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
core_tester index fuzz tests with flag
This commit is contained in:
parent
26eb63b09f
commit
de1f29dadf
3 changed files with 10 additions and 0 deletions
5
.github/workflows/rust.yml
vendored
5
.github/workflows/rust.yml
vendored
|
|
@ -41,6 +41,11 @@ jobs:
|
|||
RUST_LOG: ${{ runner.debug && 'limbo_core::storage=trace' || '' }}
|
||||
run: cargo test --verbose
|
||||
timeout-minutes: 20
|
||||
- name: Tests with indexes
|
||||
env:
|
||||
RUST_LOG: ${{ runner.debug && 'limbo_core::storage=trace' || '' }}
|
||||
run: cargo test --verbose -p core_tester --features index_experimental -- --ignored index_scan
|
||||
timeout-minutes: 20
|
||||
|
||||
|
||||
clippy:
|
||||
|
|
|
|||
|
|
@ -14,6 +14,9 @@ path = "lib.rs"
|
|||
name = "integration_tests"
|
||||
path = "integration/mod.rs"
|
||||
|
||||
[features]
|
||||
index_experimental = ["limbo_core/index_experimental"]
|
||||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
env_logger = "0.10.1"
|
||||
|
|
|
|||
|
|
@ -165,6 +165,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "only used with feature index_experimental"]
|
||||
pub fn index_scan_fuzz() {
|
||||
let db = TempDatabase::new_with_rusqlite("CREATE TABLE t(x PRIMARY KEY)");
|
||||
let sqlite_conn = rusqlite::Connection::open(db.path.clone()).unwrap();
|
||||
|
|
@ -212,6 +213,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "only used with feature index_experimental"]
|
||||
/// A test for verifying that index seek+scan works correctly for compound keys
|
||||
/// on indexes with various column orderings.
|
||||
pub fn index_scan_compound_key_fuzz() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue