Repository: kafka Updated Branches: refs/heads/trunk be36b3227 -> e615d0be7
KAFKA-2946; MINOR: Follow up. Add Delete to AclCommandTest Author: Grant Henke <[email protected]> Reviewers: Ismael Juma <[email protected]>, Jun Rao <[email protected]> Closes #1730 from granthenke/test-delete Project: http://git-wip-us.apache.org/repos/asf/kafka/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/e615d0be Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/e615d0be Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/e615d0be Branch: refs/heads/trunk Commit: e615d0be78decbc6fe2f508d5ab83fb3e05d6dc6 Parents: be36b32 Author: Grant Henke <[email protected]> Authored: Fri Aug 12 18:11:43 2016 -0700 Committer: Jun Rao <[email protected]> Committed: Fri Aug 12 18:11:43 2016 -0700 ---------------------------------------------------------------------- core/src/test/scala/unit/kafka/admin/AclCommandTest.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/e615d0be/core/src/test/scala/unit/kafka/admin/AclCommandTest.scala ---------------------------------------------------------------------- diff --git a/core/src/test/scala/unit/kafka/admin/AclCommandTest.scala b/core/src/test/scala/unit/kafka/admin/AclCommandTest.scala index 7ada48e..5a2ac6a 100644 --- a/core/src/test/scala/unit/kafka/admin/AclCommandTest.scala +++ b/core/src/test/scala/unit/kafka/admin/AclCommandTest.scala @@ -16,7 +16,6 @@ */ package kafka.admin -import java.io.StringReader import java.util.Properties import kafka.admin.AclCommand.AclCommandOptions @@ -44,7 +43,7 @@ class AclCommandTest extends ZooKeeperTestHarness with Logging { ) private val ResourceToOperations = Map[Set[Resource], (Set[Operation], Array[String])]( - TopicResources -> (Set(Read, Write, Describe), Array("--operation", "Read" , "--operation", "Write", "--operation", "Describe")), + TopicResources -> (Set(Read, Write, Describe, Delete), Array("--operation", "Read" , "--operation", "Write", "--operation", "Describe", "--operation", "Delete")), Set(Resource.ClusterResource) -> (Set(Create, ClusterAction), Array("--operation", "Create", "--operation", "ClusterAction")), GroupResources -> (Set(Read).toSet[Operation], Array("--operation", "Read")) )
