| author | |
| committer | |
| log | 0a2c80e2cfc2b9470ace4d6e4b752bc34c6dd7f9 |
| tree | c3b107f6b986c59ae8de644be3c31f6a127729df |
| parent | df13004a44f732cd9b90dbbc7e40afca421eaf36 |
| signature | Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU (~clover) |
Section::apply submits work without waiting; written establishes the durable queue boundary before status assertions.
Refs #117
Assisted-by: gpt-6.1-sol1 files changed, 1 insertions(+), 0 deletions(-)
crates/notebook/src/background.rs+1| ... | @@ -1518,6 +1518,7 @@ mod tests { | ... | @@ -1518,6 +1518,7 @@ mod tests { |
| 1518 | }, | 1518 | }, |
| 1519 | ) | 1519 | ) |
| 1520 | .unwrap(); | 1520 | .unwrap(); |
| 1521 | section.written().unwrap(); | ||
| 1521 | let pending = section.pending().unwrap(); | 1522 | let pending = section.pending().unwrap(); |
| 1522 | assert_eq!(pending.len(), 1); | 1523 | assert_eq!(pending.len(), 1); |
| 1523 | let status = background.status().remove(0).1; | 1524 | let status = background.status().remove(0).1; |