Skip to content

added example for delay fault injection#5816

Merged
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
kimsaabyepedersen:master
Feb 4, 2019
Merged

added example for delay fault injection#5816
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
kimsaabyepedersen:master

Conversation

@kimsaabyepedersen
Copy link
Copy Markdown
Contributor

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md

Description: Added a new example of fault injection: delay fault injection
Risk Level: Low
Testing: Manually tested
Docs Changes: changed the readme in the example
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Signed-off-by: Kim Saabye Pedersen <k.epost@gmail.com>
Copy link
Copy Markdown
Contributor

@snowp snowp left a comment

Choose a reason for hiding this comment

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

Left a comment on the language, but otherwise LGTM.

Thanks for adding another example!

bash enable_delay_fault_injection.sh
```

The script above enables HTTP 3.000 ms delays for 50% of the requests. So, you should now see a continuous sequence of HTTP 200
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe something like The script above will add a 3 second delay to 50% of HTTP requests? I know you matched the phrasing for aborts, but I think it might flow better

Aslo, English uses commas for thousands separators, so you'd want to use 3,000 (instead of 3.000) if you're talking in terms of milliseconds.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the feedback. I have changed the wording.

@snowp snowp self-assigned this Feb 2, 2019
@snowp
Copy link
Copy Markdown
Contributor

snowp commented Feb 3, 2019

You'll need to fix up DCO on the last commit, see https://github.com/envoyproxy/envoy/blob/master/CONTRIBUTING.md#fixing-dco

Signed-off-by: Kim Saabye Pedersen <k.epost@gmail.com>
@kimsaabyepedersen
Copy link
Copy Markdown
Contributor Author

DCO has been fixed, thanks for the feedback.

Copy link
Copy Markdown
Contributor

@snowp snowp left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@mattklein123 mattklein123 merged commit 87daa81 into envoyproxy:master Feb 4, 2019
fredlas pushed a commit to fredlas/envoy that referenced this pull request Mar 5, 2019
Signed-off-by: Kim Saabye Pedersen <k.epost@gmail.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants