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:
committed by
Matthias Clasen
parent
e3b9df2cec
commit
3db4a05493
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user