forked from mirrors/nixpkgs
* Simulate connection interruptions.
svn path=/nixos/trunk/; revision=25470
This commit is contained in:
parent
a3aa97009c
commit
7adc21218f
|
@ -42,10 +42,21 @@ rec {
|
|||
$server->waitUntilSucceeds("grep -q 'Foo.*entered the game' /tmp/log");
|
||||
$server->waitUntilSucceeds("grep -q 'Bar.*entered the game' /tmp/log");
|
||||
|
||||
sleep 30; # wait for a while to get a nice screenshot
|
||||
sleep 10; # wait for a while to get a nice screenshot
|
||||
|
||||
$client1->block();
|
||||
|
||||
sleep 20;
|
||||
|
||||
$client1->screenshot("screen1");
|
||||
$client2->screenshot("screen2");
|
||||
|
||||
$client1->unblock();
|
||||
|
||||
sleep 10;
|
||||
|
||||
$client1->screenshot("screen3");
|
||||
$client2->screenshot("screen4");
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue