MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / break_edges_table

Function break_edges_table

tests/mcp_suite/mcp_handler_test.rs:14395–14401  ·  view source on GitHub ↗

Renames the `edges` table so every edge query on the open connection fails while node and file queries keep working.

(cg: &TraceDecay)

Source from the content-addressed store, hash-verified

14393/// Renames the `edges` table so every edge query on the open connection
14394/// fails while node and file queries keep working.
14395async fn break_edges_table(cg: &TraceDecay) {
14396 cg.db()
14397 .conn()
14398 .execute("ALTER TABLE edges RENAME TO edges_broken", ())
14399 .await
14400 .unwrap();
14401}
14402
14403#[tokio::test]
14404async fn simplify_scan_surfaces_store_failure_instead_of_no_findings() {

Calls 2

connMethod · 0.45
dbMethod · 0.45

Tested by

no test coverage detected