Skip to content

Commit 9bdc169

Browse files
Apply suggestion from @MichaelScofield
Co-authored-by: LFC <[email protected]>
1 parent 89ffbcb commit 9bdc169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/servers/src/request_limiter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ mod tests {
192192
assert!(result.is_err());
193193
}
194194

195-
#[tokio::test]
195+
#[tokio::test(flavor = "multi_thread", worker_threads = 4)]
196196
async fn test_limiter_concurrent() {
197197
let limiter = RequestMemoryLimiter::new(1000);
198198
let mut handles = vec![];

0 commit comments

Comments
 (0)