Merge branch 'main' into polish-project-diagnostics

This commit is contained in:
Max Brunsfeld 2022-01-05 20:38:20 -08:00
commit fee7657fd7
7 changed files with 87 additions and 60 deletions

View file

@ -919,6 +919,10 @@ fn test_random_collaboration(cx: &mut MutableAppContext, mut rng: StdRng) {
now += Duration::from_millis(rng.gen_range(0..=200));
buffers.extend(new_buffer);
for buffer in &buffers {
buffer.read(cx).check_invariants();
}
if mutation_count == 0 && network.is_idle() {
break;
}