Archived

This forum has been archived. Please start a new discussion on GitHub.

Simulating server failures

I have created a mechanism to deal with scenarios such as the Icestorm server becoming unreachable during runtime within my program.

Until now, I have been manually pulling down Icestorm but I would like to automate tests for this. Is there a mechanism for launching and pulling down Icestorm programmatically?

Comments

  • IceStorm is an IceBox service, so you can use iceboxadmin to start and stop it. If you want to bring down IceStorm in a disorderly fashion, the easiest thing is to kill IceBox from a script. A kill -9 will be as disorderly as it gets :)

    You can also look at the IceStorm test scripts, which stop the service for various tests.

    Cheers,

    Michi.