-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Priority: LowIndicates that an issue or pull request should be resolved behind issues or pull requests labelled `Indicates that an issue or pull request should be resolved behind issues or pull requests labelled `Type: FixIndicates a fix to existing codeIndicates a fix to existing code
Description
A pain point with global state is that we cannot run unit tests in parallel (aka we run unit tests with RUST_TEST_THREADS=1) which also adds problems like we are out of memory because the state is not clean (also check #1138).
We should discuss if we should refactor Firecracker such that we don't have global state (METRICS, LOGGER, others?). This would also help in creating mock objects in tests.
Metadata
Metadata
Assignees
Labels
Priority: LowIndicates that an issue or pull request should be resolved behind issues or pull requests labelled `Indicates that an issue or pull request should be resolved behind issues or pull requests labelled `Type: FixIndicates a fix to existing codeIndicates a fix to existing code