Fix PR comments

This commit is contained in:
many 2021-10-28 15:42:42 +02:00
parent 59636fa688
commit cbaca2b579
No known key found for this signature in database
GPG key ID: 2CEF23B75189EACA
4 changed files with 5 additions and 5 deletions

View file

@ -99,7 +99,7 @@ impl Index<'_> {
pub async fn wait_update_id(&self, update_id: u64) -> Value {
// try 10 times to get status, or panic to not wait forever
let url = format!("/indexes/{}/updates/{}", self.uid, update_id);
for _ in 0..20 {
for _ in 0..10 {
let (response, status_code) = self.service.get(&url).await;
assert_eq!(status_code, 200, "response: {}", response);