Next: , Previous: Specifying slaves, Up: Running master/slave test cases over TCP/IP


10.3 Master/slave example

This simple example runs the first case in minDemoModule in two slaves of type “desktop” and “laptop”.

In the min.conf we have specified the slaves as in previous chapter. The master script could then look as follows.

     [Test]
     title run minDemodule in two slaves
     allocate desktop slave1
     remote slave1 run minDemoModule  dummy.cfg 1
     free slave1
     allocate laptop slave2
     remote slave2 run minDemoModule  dummy.cfg 1
     free slave2
     [Endtest]