3
0
Fork 0
forked from mirrors/nixpkgs

* Simulate connection interruptions.

svn path=/nixos/trunk/; revision=25470
This commit is contained in:
Eelco Dolstra 2011-01-09 18:17:17 +00:00
parent a3aa97009c
commit 7adc21218f

View file

@ -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");
'';
}