From fba64a8419e5a57aaa426d91679b2598c28e331f Mon Sep 17 00:00:00 2001 From: August Date: Sun, 29 Sep 2024 17:04:44 +0800 Subject: [PATCH] fix throttle --- src/tests/simulation/tests/integration_tests/throttle.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tests/simulation/tests/integration_tests/throttle.rs b/src/tests/simulation/tests/integration_tests/throttle.rs index 8b938b08e5e45..b80c3cb04ce24 100644 --- a/src/tests/simulation/tests/integration_tests/throttle.rs +++ b/src/tests/simulation/tests/integration_tests/throttle.rs @@ -37,8 +37,14 @@ async fn test_throttle_mv() { .await .unwrap(); let mv_id: u32 = res.parse().unwrap(); + cluster + .throttle_mv(TableId::from(mv_id), Some(200)) + .await + .unwrap(); cluster .throttle_mv(TableId::from(mv_id), None) .await .unwrap(); + + session.run("drop table t1 cascade").await.unwrap(); }