13 lines
331 B
Rust
13 lines
331 B
Rust
![]() |
use gb_testing::chaos::ChaosTest;
|
||
|
|
||
|
#[tokio::test]
|
||
|
async fn test_kubernetes_chaos() -> anyhow::Result<()> {
|
||
|
let chaos_test = ChaosTest::new("general-bots".to_string()).await?;
|
||
|
|
||
|
chaos_test.kill_random_pod().await?;
|
||
|
chaos_test.network_partition().await?;
|
||
|
chaos_test.resource_exhaustion().await?;
|
||
|
|
||
|
Ok(())
|
||
|
}
|