diff options
Diffstat (limited to 'app/src/test')
-rw-r--r-- | app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java b/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java index 08591b6d..27bfdb34 100644 --- a/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java +++ b/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java @@ -345,7 +345,10 @@ public class GatewaysManagerTest { assertNull(gatewaysManager.select(0, "Stockholm")); } - @Test + /* + This test is disabled since we fake load values in gateway manager with randomized numbers. + */ + /* @Test public void testGetLocations_openvpn() { Provider provider = getProvider(null, null, null, null, null, null, "v4/riseup_eipservice_for_geoip_v4.json", "v4/riseup_geoip_v4.json"); @@ -364,9 +367,12 @@ public class GatewaysManagerTest { assertEquals(averageLoad, location.averageLoad); } } - } + } */ - @Test + /* + This test is disabled since we fake load values in gateway manager with randomized numbers. + */ + /*@Test public void testGetLocations_obfs4() { Provider provider = getProvider(null, null, null, null, null, null, "v4/riseup_eipservice_for_geoip_v4.json", "v4/riseup_geoip_v4.json"); @@ -390,6 +396,7 @@ public class GatewaysManagerTest { } } + */ private String getJsonStringFor(String filename) throws IOException { |