You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Kunal Khatua (JIRA)" <ji...@apache.org> on 2017/11/17 01:04:00 UTC

[jira] [Created] (DRILL-5973) Support injections of a time-bound pause after which the server resumes

Kunal Khatua created DRILL-5973:
-----------------------------------

             Summary: Support injections of a time-bound pause after which the server resumes
                 Key: DRILL-5973
                 URL: https://issues.apache.org/jira/browse/DRILL-5973
             Project: Apache Drill
          Issue Type: Improvement
          Components: Tools, Build & Test
    Affects Versions: 1.11.0
            Reporter: Kunal Khatua
             Fix For: 1.12.0, 1.13.0


While working on DRILL-3640 , when creating a unit test for a server-induced timeout, the injecting a pause leaves the JUnit framework's DrillClient without a handle to the query on the server. This is because we injected the pause to occur before the server could send back a query ID, so the DrillClient has no way to unpause the server.

The workaround to support this unit test is to allow for injecting pauses with a defined time-bound, after which the server would resume.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)