Commit graph

4 commits

Author SHA1 Message Date
Celtic Minstrel
05d47216db Remove reference to removed pref from MP tests 2016-11-11 18:20:12 -05:00
Jyrki Vesterinen
35f01dd7b5 Simulate lobby activity: use wesnoth.random() to generate game name
I missed this in commit e7c2105c48.
2016-10-25 19:22:01 +03:00
Jyrki Vesterinen
e7c2105c48 Add a script to simulate heavy lobby traffic
Plus a bunch of changes which were necessary for the script to work:
* The "simulate lobby activity" plugin now exits when the server is shut
  down.
* The plugin now uses wesnoth.random() for random number generation.
  Math.random() uses a fixed seed, which would make all the clients
  perform the exact same actions.
* Exposed wesnoth.random() to plugins to allow the change above.
* --nogui no longer implies --wconsole on Windows. With implied --wconsole
  the clients attached themselves to the standard output of the Python
  script, which made it impossible to see the output of the script itself.
2016-10-23 16:52:36 +03:00
Jyrki Vesterinen
296902d426 Add a "simulate lobby activity" plugin
This is the first step towards creating artificial load and testing if the
GUI2 lobby still performs well under load.

I also implemented ability to leave the game in the GUI2 MP staging dialog.
Previously the server continued to believe that the player remains in the
game when he/she closed the MP staging dialog.
2016-09-27 22:52:07 +03:00