Skip to content

Commit

Permalink
ON-45075 # Increase sleep due to s3 delays
Browse files Browse the repository at this point in the history
  • Loading branch information
kizaonline committed Nov 24, 2024
1 parent 7224662 commit ae4439f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OneBlink.SDK.Tests/FormsClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public async void can_crud_form()
retrievedForm.description = updatedDescription;
Form updatedForm = await formsClient.Update(retrievedForm);
Assert.Equal(updatedDescription, updatedForm.description);
System.Threading.Thread.Sleep(5000); // give the API time to finish upserting s3 resources before deleting the form
System.Threading.Thread.Sleep(30000); // give the API time to finish upserting s3 resources before deleting the form
await formsClient.Delete(updatedForm.id);

var oneBlinkAPIException = await Assert.ThrowsAsync<OneBlink.SDK.OneBlinkAPIException>(() => formsClient.Get(updatedForm.id, true));
Expand Down Expand Up @@ -325,7 +325,7 @@ public async void can_create_with_defaults()
)
};
Form updatedForm = await formsClient.Update(savedForm);
System.Threading.Thread.Sleep(5000); // give the API time to finish upserting s3 resources before deleting the form
System.Threading.Thread.Sleep(30000); // give the API time to finish upserting s3 resources before deleting the form

await formsClient.Delete(updatedForm.id);
}
Expand Down

0 comments on commit ae4439f

Please sign in to comment.