mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-18 13:40:37 +00:00
add test stubs
This commit is contained in:
7
tests/compute.rs
Normal file
7
tests/compute.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
// test node resettlement to an empty datadir
|
||||
#[test]
|
||||
fn test_resettlement() {}
|
||||
|
||||
// test seq scan of everythin after restart
|
||||
#[test]
|
||||
fn test_cold_seqscan() {}
|
||||
15
tests/pageserver.rs
Normal file
15
tests/pageserver.rs
Normal file
@@ -0,0 +1,15 @@
|
||||
// XXX: force all redo at the end
|
||||
// -- restart + seqscan won'r read deleted stuff
|
||||
// -- pageserver api endpoint to check all rels
|
||||
|
||||
// Handcrafted cases with wal records that are (were) problematic for redo.
|
||||
#[test]
|
||||
fn test_redo_cases() {}
|
||||
|
||||
// Runs pg_regress on a compute node
|
||||
#[test]
|
||||
fn test_regress() {}
|
||||
|
||||
// Runs pg_regress on a compute node
|
||||
#[test]
|
||||
fn test_pageserver_recovery() {}
|
||||
16
tests/wal_acceptor.rs
Normal file
16
tests/wal_acceptor.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
// Restart acceptors one by one while compute is under the load.
|
||||
// Majority is always alive
|
||||
#[test]
|
||||
fn test_acceptors_restarts() {
|
||||
|
||||
// check wal files equality
|
||||
}
|
||||
|
||||
// Stop majority of acceptors while compute is under the load. Boot
|
||||
// them again and check that nothing was losed. Repeat.
|
||||
// N_CRASHES env var
|
||||
#[test]
|
||||
fn test_acceptors_unavalability() {
|
||||
|
||||
// check wal files equality
|
||||
}
|
||||
Reference in New Issue
Block a user