You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by mb...@apache.org on 2020/10/02 01:07:39 UTC

[asterixdb] 03/11: [NO ISSUE][TEST] increase result sender thread exit wait time

This is an automated email from the ASF dual-hosted git repository.

mblow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git

commit 4121679dbecae92d6e835a985aad5b6da5ae3dc6
Author: Murtadha Hubail <mh...@apache.org>
AuthorDate: Fri Aug 28 15:47:52 2020 +0300

    [NO ISSUE][TEST] increase result sender thread exit wait time
    
    - user model changes: no
    - storage format changes: no
    - interface changes: no
    
    Details:
    
    - Increase the time to wait for the result sender thread
      to exit from 5 to 30 seconds to avoid intermittent test
      failures.
    
    Change-Id: If675fd655519a23eb0e56d59d6680a36c0832b3b
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/7763
    Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
    Reviewed-by: Murtadha Hubail <mh...@apache.org>
    Reviewed-by: Hussain Towaileb <hu...@gmail.com>
---
 .../org/apache/asterix/test/runtime/ResultStreamingFailureTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/ResultStreamingFailureTest.java b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/ResultStreamingFailureTest.java
index 3a4823f..c4fca1a 100644
--- a/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/ResultStreamingFailureTest.java
+++ b/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/ResultStreamingFailureTest.java
@@ -58,7 +58,7 @@ public class ResultStreamingFailureTest {
     public void resultStreamingFailureTest() throws Exception {
         queryAndDropConnection();
         // allow result sender to terminate and ensure no leaks
-        Span timeout = Span.start(5, TimeUnit.SECONDS);
+        Span timeout = Span.start(30, TimeUnit.SECONDS);
         while (!timeout.elapsed()) {
             String threadDump = ThreadDumpUtil.takeDumpString();
             if (!threadDump.contains(ResultPartitionReader.class.getName())) {