swadhinbiswas

[email protected]
2026-08-01 10:47:24 +0600 committed NaN years ago
f999d21
commit f999d21
1 file changed
+6 -0
Showing 1 changed file+6-0
▼crates/justapi-core/src/db/pool.rs
+6-0
967
967
assert!(IsolationLevel::ReadCommitted.is_supported(DbKind::Postgres));
968
968
}
969
969
970
+ /// Skipped under Miri: SQLite FFI not supported by Miri.
971
+ #[cfg(not(miri))]
970
972
#[tokio::test]
971
973
async fn test_sqlite_roundtrip_types() {
972
974
let pool =
997
999
assert_eq!(row["big"], serde_json::Value::Null);
998
1000
}
999
1001
1002
+ /// Skipped under Miri: SQLite FFI not supported by Miri.
1003
+ #[cfg(not(miri))]
1000
1004
#[tokio::test]
1001
1005
async fn test_transaction_detects_writes_and_reads() {
1002
1006
let pool =
1013
1017
assert_eq!(res, serde_json::json!([{ "total": 5 }]));
1014
1018
}
1015
1019
1020
+ /// Skipped under Miri: SQLite FFI not supported by Miri.
1021
+ #[cfg(not(miri))]
1016
1022
#[tokio::test]
1017
1023
async fn test_stream_chunks() {
1018
1024
let pool =
1019
1025