test-region: Decrease loop count by a factor of 10

This test was timing out when running in gitlab-ci, so decreasing the
loop count in order to make it run faster. Example:

https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6546

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Eduardo Lima (Etrunko) 2018-07-03 11:28:00 -03:00
parent 246f3a02b4
commit 75863fb69f

View File

@ -372,7 +372,7 @@ static void test_region(void)
g_debug("\n");
j = 0;
for (i = 0; i < 1000000; i++) {
for (i = 0; i < 100000; i++) {
int res1, res2, test;
int tests[] = {
REGION_TEST_LEFT_EXCLUSIVE,