Skip to content

Commit 3fda3aa

Browse files
committed
Refactor and add unikernel tests
- Refactored asynchronous functions in `stress_chaos_torture_tests.rs` to return pinned futures for better compatibility with Tokio's async runtime. - Introduced a new test suite in `unikernel_execution_tests.rs.disabled` to validate unikernel functionality, including binary detection, CID allocation, and JSON-RPC request format. - Added load testing scenarios in `unikernel_load_tests.rs.disabled` to assess system stability and performance under high load with concurrent unikernel executions. - Implemented tests for memory leak detection and cleanup of orphaned processes. - Included assertions to ensure proper behavior of unikernels during rapid spawn/terminate cycles.
1 parent 73f1af6 commit 3fda3aa

36 files changed

+15833
-708
lines changed

Cargo.lock

Lines changed: 70 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ tempfile = "3.22.0"
9797
serial_test = "3.2.0"
9898
mockito = "1.7.0"
9999
criterion = "0.7.0"
100+
proptest = "1.5.0"
100101

101102
[features]
102103
default = []

0 commit comments

Comments
 (0)