Skip to content

Commit

Permalink
Apply same sleep hack as in #433 πŸ™ˆ
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Oct 19, 2023
1 parent f635e96 commit c1e0c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/server/src/user/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ async fn test_store_share() {
let alice_account_id: <EntropyConfig as Config>::AccountId = alice.to_account_id().into();
let registered_query = entropy::storage().relayer().registered(alice_account_id);
for _ in 0..10 {
std::thread::sleep(std::time::Duration::from_millis(500));
std::thread::sleep(std::time::Duration::from_millis(1000));
let query_registered_status =
api.storage().at_latest().await.unwrap().fetch(&registered_query).await;
if query_registered_status.unwrap().is_some() {
Expand Down

0 comments on commit c1e0c19

Please sign in to comment.