mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
testsuite: Shrink maximum texture size in test
1MB textures can lead to 20s runtimes - which with asan CI being a lot slower can be a loooong time and cause timeouts. Limiting them to 16kB still allows hitting max texture size sometimes but makes sure the test only runs for 3-4s worst case. I hope that doesn't trigger timeouts even under asan.
This commit is contained in:
parent
01d86eab66
commit
b69df2bc4d
@ -1319,7 +1319,7 @@ test_download_random (gconstpointer data)
|
||||
width = g_test_rand_int_range (1, 40) * g_test_rand_int_range (1, 40);
|
||||
height = g_test_rand_int_range (1, 40) * g_test_rand_int_range (1, 40);
|
||||
}
|
||||
while (width * height >= 1024 * 1024);
|
||||
while (width * height >= 32 * 1024);
|
||||
|
||||
test_download (data, width, height, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user