mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-23 23:54:48 +01:00
Merge pull request #75 from hexedtech/test/wait-more
Some checks are pending
test / test-build (java, macos-latest) (push) Blocked by required conditions
test / test-build (java, ubuntu-latest) (push) Blocked by required conditions
test / test-build (java, windows-latest) (push) Blocked by required conditions
test / test-build (js, macos-latest) (push) Blocked by required conditions
test / test-build (js, ubuntu-latest) (push) Blocked by required conditions
test / test-build (js, windows-latest) (push) Blocked by required conditions
test / test-build (lua, macos-latest) (push) Blocked by required conditions
test / test-build (lua, ubuntu-latest) (push) Blocked by required conditions
test / test-build (lua, windows-latest) (push) Blocked by required conditions
test / test-build (py, ubuntu-latest) (push) Blocked by required conditions
test / test-build (py, windows-latest) (push) Blocked by required conditions
test / test-build (py, macos-latest) (push) Blocked by required conditions
test / test-unit (push) Waiting to run
test / test-beta (beta) (push) Blocked by required conditions
test / test-beta (nightly) (push) Blocked by required conditions
test / test-functional (push) Blocked by required conditions
Some checks are pending
test / test-build (java, macos-latest) (push) Blocked by required conditions
test / test-build (java, ubuntu-latest) (push) Blocked by required conditions
test / test-build (java, windows-latest) (push) Blocked by required conditions
test / test-build (js, macos-latest) (push) Blocked by required conditions
test / test-build (js, ubuntu-latest) (push) Blocked by required conditions
test / test-build (js, windows-latest) (push) Blocked by required conditions
test / test-build (lua, macos-latest) (push) Blocked by required conditions
test / test-build (lua, ubuntu-latest) (push) Blocked by required conditions
test / test-build (lua, windows-latest) (push) Blocked by required conditions
test / test-build (py, ubuntu-latest) (push) Blocked by required conditions
test / test-build (py, windows-latest) (push) Blocked by required conditions
test / test-build (py, macos-latest) (push) Blocked by required conditions
test / test-unit (push) Waiting to run
test / test-beta (beta) (push) Blocked by required conditions
test / test-beta (nightly) (push) Blocked by required conditions
test / test-functional (push) Blocked by required conditions
test: wait more
This commit is contained in:
commit
293bdcde54
1 changed files with 4 additions and 4 deletions
|
@ -336,8 +336,8 @@ async fn test_content_converges() {
|
|||
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
|
||||
|
||||
// TODO is there a nicer way to make sure we received all changes?
|
||||
for i in 0..20 {
|
||||
tokio::time::sleep(std::time::Duration::from_millis(200)).await;
|
||||
for i in 0..5 {
|
||||
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
|
||||
match bob.try_recv().await? {
|
||||
Some(change) => bob.ack(change.version),
|
||||
None => break,
|
||||
|
@ -345,8 +345,8 @@ async fn test_content_converges() {
|
|||
eprintln!("bob more to recv at attempt #{i}");
|
||||
}
|
||||
|
||||
for i in 0..20 {
|
||||
tokio::time::sleep(std::time::Duration::from_millis(200)).await;
|
||||
for i in 0..5 {
|
||||
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
|
||||
match alice.try_recv().await? {
|
||||
Some(change) => alice.ack(change.version),
|
||||
None => break,
|
||||
|
|
Loading…
Reference in a new issue