Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize dummy downstairs tests #1253

Merged
merged 10 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions upstairs/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2337,6 +2337,10 @@ pub(crate) enum ClientStopReason {

/// The upstairs has requested that we deactivate
Deactivated,

/// The test suite has requested a fault
#[cfg(test)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how it would work, but it might be nice to have a way to expose this interface
as a build option? We could write various tests that would trigger a fault during specific
times. I suppose it's not much different than just stopping or pstopping a downstairs process
which is our go to method now.

RequestedFault,
}

/// Response received from the I/O task
Expand Down
Loading