Skip to content

tuxcanfly/annyong

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

annyong

Hello

annyong is a program which annoys a given cmd with random interrupts

it can be useful to test services which need graceful interrupt handling

usage

annyong <flags> <cmd> <args>

will run the cmd with args n times and interrupt each one after a random time

to control the times and duration before interrupt, use the following flags (defaults indicated)

flags

-times=10 // number of times to re-launch the cmd
-minwait=1 // minimum seconds to wait before interrupting
-maxwait=10 // maximum seconds to wait before interrupting
-parallel=false // when true runs the cmd in parallel using goroutines
-quit=true // when true stop after receiving the first non-zero return code (unused if -parallel=true)

About

annoy programs by interrupting them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages