[erlang-questions] Common test for Large Scale Testing - how to restart slave node in right way?

Ilyushonak Barys barys_ilyushonak@REDACTED
Mon Jul 30 09:15:21 CEST 2012


Greetings, erlangers.

I'm working on integration tests for failover requirements in my distributed system.
I use Common Test for such purposes, and especially http://www.erlang.org/doc/apps/common_test/ct_master_chapter.html
The test case runs several slave nodes, and kill them time to time. As the result I check system state after such experiment. 
I'm looking for possibility to restart slave node after my test kill it. The best way for me is to configure master node as supervisor which can restart crashed nodes. Is it possible?

I have found a few variants:
1. Use ct_slave module, stop and start function from test case code. The question is where can I get test specification in this case?
2. Use event handler, or write custom code, but it still require to parse test spec manually.
Both are required to write custom test spec parser.

Please, advice.

Regards,
Boris

_______________________________________________________

The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp  





More information about the erlang-questions mailing list