Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

core/validator: Wrap std::process:exit(1) for easier testing#13990

Merged
mergify[bot] merged 1 commit intosolana-labs:masterfrom
ryoqun:core-validator-abort
Dec 7, 2020
Merged

core/validator: Wrap std::process:exit(1) for easier testing#13990
mergify[bot] merged 1 commit intosolana-labs:masterfrom
ryoqun:core-validator-abort

Conversation

@ryoqun
Copy link
Copy Markdown
Contributor

@ryoqun ryoqun commented Dec 7, 2020

Problem

It's annoying to see test process to exit(1) on some bad condition.

Summary of Changes

Avoid that only for #[cfg(test)]

Context: #13884

@ryoqun ryoqun added the automerge Merge this Pull Request automatically once CI passes label Dec 7, 2020
@mergify mergify Bot merged commit 3d9d755 into solana-labs:master Dec 7, 2020
@sakridge sakridge added the v1.4 label Dec 29, 2020
mergify Bot pushed a commit that referenced this pull request Dec 29, 2020
mergify Bot added a commit that referenced this pull request Dec 29, 2020
…#14332)

(cherry picked from commit 3d9d755)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants