Run rate-limited binstalk-git-repo-api test in serial

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-06-12 20:00:08 +10:00
parent ec279cd1d5
commit d66774ee4a
No known key found for this signature in database
GPG key ID: 76D1E687CA3C4928

View file

@ -522,7 +522,7 @@ mod test {
} }
#[tokio::test] #[tokio::test]
async fn test_get_repo_info() { async fn rate_limited_test_get_repo_info() {
const PUBLIC_REPOS: [GhRepo; 1] = [GhRepo { const PUBLIC_REPOS: [GhRepo; 1] = [GhRepo {
owner: CompactString::new_inline("cargo-bins"), owner: CompactString::new_inline("cargo-bins"),
repo: CompactString::new_inline("cargo-binstall"), repo: CompactString::new_inline("cargo-binstall"),
@ -582,7 +582,7 @@ mod test {
} }
#[tokio::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] = [ const RELEASES: [(GhRelease, &[&str]); 2] = [
( (
cargo_binstall_v0_20_1::RELEASE, cargo_binstall_v0_20_1::RELEASE,