[erlang-questions] Common test for Large Scale Testing - how to restart slave node in right way?
Ilyushonak Barys
barys_ilyushonak@REDACTED
Tue Jul 31 08:29:43 CEST 2012
Thank you very much.
-----Original Message-----
From: Tim Watson [mailto:watson.timothy@REDACTED]
Sent: Monday, July 30, 2012 6:12 PM
To: Ilyushonak Barys
Cc: Erlang
Subject: Re: [erlang-questions] Common test for Large Scale Testing - how to restart slave node in right way?
Https://GitHub.com/nebularis/systest
Very new, undocumented. Ping me if you have any questions. :)
On 30 Jul 2012, at 08:15, Ilyushonak Barys <barys_ilyushonak@REDACTED> wrote:
> 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
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list