You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/26 06:24:00 UTC

[jira] [Commented] (IMPALA-8446) Create a unit test for Admission Controller

    [ https://issues.apache.org/jira/browse/IMPALA-8446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826686#comment-16826686 ] 

ASF subversion and git services commented on IMPALA-8446:
---------------------------------------------------------

Commit 2dda47ec27e8f15810907d77c6e41c275355cea6 in impala's branch refs/heads/master from Andrew Sherman
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2dda47e ]

IMPALA-8446: Create a unit test for Admission Controller.

This test allows construction of white box tests that exercise Admission
Controller code.

The initial test cases are
(1) a test which does the following:
  + creates a RequestPoolService which reads some Admission Controller
    configuration files
  + creates an Admission Controller object
  + creates a QuerySchedule for a query
  + tests if the query can be admitted by the Admission Controller
  + simulates activity in the cluster which consumes memory
  + tests that the earlier query cannot now be admitted by the Admission
    Controller
(2) a test which verifies that the configuration files are read
    correctly.

TESTING:
Ran end-to-end tests cleanly and checked that the new tests were
executed.

Change-Id: I8a840590b868f2df1a06f3f397b7b0fc2b29462c
Reviewed-on: http://gerrit.cloudera.org:8080/13078
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Create a unit test for Admission Controller
> -------------------------------------------
>
>                 Key: IMPALA-8446
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8446
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Andrew Sherman
>            Assignee: Andrew Sherman
>            Priority: Major
>
> This will allow construction of white box tests that exercise Admission Controller code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org