Skip to content

Commit

Permalink
update loop
Browse files Browse the repository at this point in the history
  • Loading branch information
zo-el committed Mar 28, 2022
1 parent deb1240 commit 376cace
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions zomes/chat/tests/batching.proptest-regressions
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
# It is recommended to check this file in to source control so that
# everyone who runs the test benefits from these saved cases.
cc cfbaea55e7c9166e0bd942ad12c344b65b2c1d8c4afe78650461d65a8bbc8d3e # shrinks to length = 1
cc 8ef532743533e807e2444c3394021592851bce270b883e991fcf6abb526824ad # shrinks to length = 1
6 changes: 3 additions & 3 deletions zomes/chat/tests/batching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ use holochain::sweettest::*;
use proptest::prelude::*;

proptest! {
#![proptest_config(ProptestConfig::with_cases(5))]
#![proptest_config(ProptestConfig::with_cases(10))]
#[test]
fn test_batching(length in 1i32..20) {
fn test_batching(length in 1000i32..1001) {
match tokio::runtime::Runtime::new() {
Ok(rt) => {
let _ = rt.block_on(async move {
Expand Down Expand Up @@ -74,7 +74,7 @@ proptest! {
let lmpi = ListMessagesInput {
channel: channel.entry.clone(),
earliest_seen: Some(time),
target_message_count: 100,
target_message_count: length as usize + 2,
};

let alice_msgs: ListMessages = conductor
Expand Down

0 comments on commit 376cace

Please sign in to comment.