Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

support fiu injection #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

critical27
Copy link
Contributor

@critical27 critical27 commented Aug 21, 2020

Support fault injection with libfiu. For example, mock ::write failed like what we did in random_fiu_injection.json.

BTW, nebula can't link jemalloc, otherwise, it will be able to start with fiu-run.

@CLAassistant
Copy link

CLAassistant commented Sep 2, 2020

CLA assistant check
All committers have signed the CLA.

LOG(INFO) << "Begin to fiu injection of " << picked_->toString();
std::string inject;
if (probability_ < 1) {
inject = folly::stringPrintf("fiu-ctrl -c 'enable_random name=%s,probability=%lf' %d",
Copy link
Contributor

Choose a reason for hiding this comment

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

Where is fiu-ctrl? Install it by myself?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants