[
https://issues.apache.org/jira/browse/DRILL-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271431#comment-16271431
]
ASF GitHub Bot commented on DRILL-5973:
---------------------------------------
GitHub user kkhatua opened a pull request:
https://github.com/apache/drill/pull/1055
DRILL-5973 : Support injection of time-bound pauses in server
Support pause injections in the test framework that are time-bound, to
allow for testing high latency scenarios.
e.g. delayed server response to the Drill client allows for test a
server-induced timeout
This would allow for testing of DRILL-3640
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kkhatua/drill DRILL-5973
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/1055.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1055
----
commit 62e6f721183d648797d5329e94b277cd5722bba6
Author: Kunal Khatua <[email protected]>
Date: 2017-11-29T19:00:11Z
DRILL-5973 : Support injection of time-bound pauses in server
Support pause injections in the test framework that are time-bound, to
allow for testing high latency scenarios.
e.g. delayed server response to the Drill client allows for test a
server-induced timeout
----
> Support injection of time-bound pauses in server
> ------------------------------------------------
>
> 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
> Assignee: Kunal Khatua
> Fix For: 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)