Home Help Center

Simulating server failures

tomstoms Member Tom SantosOrganization: DSTOProject: Framework to allow communications b/w components
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

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    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.
Sign In or Register to comment.