tests: Lower number of iterations in network-monitor-race

While 333 runs is very likely to reproduce the bug, Milan has previously
reproduced it with as few as 9 runs. Since this test will be run by the
CI machinery quite often, a lower number of runs each CI run will still
probably catch any regressions over time.

This reduces the total test runtime from 33s to 2s.

https://bugzilla.gnome.org/show_bug.cgi?id=793727

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Reviewed-by: nobody
This commit is contained in:
Philip Withnall 2018-04-11 15:45:10 +01:00
parent 0beb62f564
commit a90c578952

View File

@ -18,7 +18,7 @@
#include <glib/glib.h>
#include <gio/gio.h>
#define MAX_RUNS 333
#define MAX_RUNS 20
static gboolean
quit_loop (gpointer user_data)