From 581019d41e8f577d77eced11d2200139fee31086 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Wed, 12 Jun 2024 20:00:08 +1000 Subject: [PATCH] Run rate-limited binstalk-git-repo-api test in serial Signed-off-by: Jiahao XU --- crates/binstalk-git-repo-api/src/gh_api_client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/binstalk-git-repo-api/src/gh_api_client.rs b/crates/binstalk-git-repo-api/src/gh_api_client.rs index bcf2940b6..e6342b78c 100644 --- a/crates/binstalk-git-repo-api/src/gh_api_client.rs +++ b/crates/binstalk-git-repo-api/src/gh_api_client.rs @@ -522,7 +522,7 @@ mod test { } #[tokio::test] - async fn test_get_repo_info() { + async fn rate_limited_test_get_repo_info() { const PUBLIC_REPOS: [GhRepo; 1] = [GhRepo { owner: CompactString::new_inline("cargo-bins"), repo: CompactString::new_inline("cargo-binstall"), @@ -582,7 +582,7 @@ mod test { } #[tokio::test] - async fn test_has_release_artifact_and_download_artifacts() { + async fn rate_limited_test_has_release_artifact_and_download_artifacts() { const RELEASES: [(GhRelease, &[&str]); 2] = [ ( cargo_binstall_v0_20_1::RELEASE,