()
| 478 | |
| 479 | #[test] |
| 480 | fn tenant_isolation() { |
| 481 | let mut e = make_engine(); |
| 482 | let n = now(); |
| 483 | |
| 484 | e.put(1, "c", b"k", b"t1", 0, n, Surrogate::ZERO); |
| 485 | e.put(2, "c", b"k", b"t2", 0, n, Surrogate::ZERO); |
| 486 | |
| 487 | assert_eq!(e.get(1, "c", b"k", n).unwrap(), b"t1"); |
| 488 | assert_eq!(e.get(2, "c", b"k", n).unwrap(), b"t2"); |
| 489 | } |
| 490 | |
| 491 | #[test] |
| 492 | fn stats() { |
nothing calls this directly
no test coverage detected