mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-22 14:50:24 -04:00
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:
committed by
Torsten Grote
parent
50907a590d
commit
78e8d09219
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user