[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [onionoo/release] Increase test timeout from 100 to 200ms.



commit efa4cd87935e7ce0a6979506b53a44c32b932c2b
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Mon Oct 30 17:00:24 2017 +0100

    Increase test timeout from 100 to 200ms.
    
    The testCountryDeDe typically requires around 80 to 100ms to complete,
    which makes our test timeout of 100ms somewhat optimistic. The reason
    is that it's the first test method that is run in this test class, and
    it takes some time to initialize the test environment. This is just a
    hotfix, but it's also not really a serious problem, so maybe it'll
    just do.
---
 src/test/java/org/torproject/onionoo/server/ResourceServletTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/torproject/onionoo/server/ResourceServletTest.java b/src/test/java/org/torproject/onionoo/server/ResourceServletTest.java
index 1588f8a..e41eecc 100644
--- a/src/test/java/org/torproject/onionoo/server/ResourceServletTest.java
+++ b/src/test/java/org/torproject/onionoo/server/ResourceServletTest.java
@@ -1104,7 +1104,7 @@ public class ResourceServletTest {
         null);
   }
 
-  @Test(timeout = 100)
+  @Test(timeout = 200)
   public void testCountryDeDe() {
     this.assertSummaryDocument(
         "/summary?country=de&country=de", 1, new String[] { "TorkaZ" }, 0,



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits