[ledger] fake network errors in rust cloud provider
This change adds the ability for the rust cloud provider to simulate network errors. The next CL will add a mechanism for externally controlling the network state. TEST=unit tests in crate::session::tests Change-Id: Ia329e7cf802054cce73d35bf505677a9577eb8d8
Showing
- src/ledger/cloud_provider_memory_diff/BUILD.gn 7 additions, 0 deletionssrc/ledger/cloud_provider_memory_diff/BUILD.gn
- src/ledger/cloud_provider_memory_diff/src/main.rs 5 additions, 4 deletionssrc/ledger/cloud_provider_memory_diff/src/main.rs
- src/ledger/cloud_provider_memory_diff/src/session.rs 271 additions, 16 deletionssrc/ledger/cloud_provider_memory_diff/src/session.rs
Loading
Please register or sign in to comment