We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 872de7e commit 094dd08Copy full SHA for 094dd08
test/components-rust/test-llm/src/lib.rs
@@ -663,14 +663,13 @@ impl Guest for Component {
663
664
round += 1;
665
if round == 2 {
666
- // Note: Commented out crash simulation - enable if testing durability
667
- // atomically(|| {
668
- // let client = TestHelperApi::new(&name);
669
- // let answer = client.blocking_inc_and_get();
670
- // if answer == 1 {
671
- // panic!("Simulating crash")
672
- // }
673
- // });
+ atomically(|| {
+ let client = TestHelperApi::new(&name);
+ let answer = client.blocking_inc_and_get();
+ if answer == 1 {
+ panic!("Simulating crash")
+ }
+ });
674
}
675
676
0 commit comments