Run flaky network-based tests in a different job

that is allowed to fail. These tests are hitting real servers that often have issues and thus make our tests fail.
This commit is contained in:
Torsten Grote
2025-06-10 16:04:19 -03:00
committed by Torsten Grote
parent 50907a590d
commit 78e8d09219
4 changed files with 35 additions and 33 deletions

View File

@@ -8,6 +8,7 @@ import android.os.Build;
import android.util.Log;
import androidx.core.util.Pair;
import androidx.test.filters.FlakyTest;
import org.fdroid.download.DownloadRequest;
import org.fdroid.download.HttpDownloader;
@@ -29,6 +30,7 @@ import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
@FlakyTest
public class HttpDownloaderTest {
private static final String TAG = "HttpDownloaderTest";