Repository: kafka Updated Branches: refs/heads/trunk 18d7abd89 -> 98a093d6c
MINOR: Change SaslSetup workDir to be under the build folder Moves test output from the project files and allows `gradle clean` to clean up the output. Author: Grant Henke <[email protected]> Reviewers: Ewen Cheslack-Postava <[email protected]> Closes #664 from granthenke/target Project: http://git-wip-us.apache.org/repos/asf/kafka/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/98a093d6 Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/98a093d6 Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/98a093d6 Branch: refs/heads/trunk Commit: 98a093d6c97b322e2175ebdcd987dac7efe6bb1b Parents: 18d7abd Author: Grant Henke <[email protected]> Authored: Thu Dec 10 20:45:18 2015 -0800 Committer: Ewen Cheslack-Postava <[email protected]> Committed: Thu Dec 10 20:45:18 2015 -0800 ---------------------------------------------------------------------- core/src/test/scala/integration/kafka/api/SaslSetup.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/98a093d6/core/src/test/scala/integration/kafka/api/SaslSetup.scala ---------------------------------------------------------------------- diff --git a/core/src/test/scala/integration/kafka/api/SaslSetup.scala b/core/src/test/scala/integration/kafka/api/SaslSetup.scala index d49b5bd..c36b288 100644 --- a/core/src/test/scala/integration/kafka/api/SaslSetup.scala +++ b/core/src/test/scala/integration/kafka/api/SaslSetup.scala @@ -5,7 +5,7 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software @@ -39,7 +39,7 @@ case object Both extends SaslSetupMode * currently to setup a keytab and jaas files. */ trait SaslSetup { - private val workDir = new File(System.getProperty("test.dir", "target")) + private val workDir = new File(System.getProperty("test.dir", "build/tmp/test-workDir")) private val kdcConf = MiniKdc.createConf() private val kdc = new MiniKdc(kdcConf, workDir) @@ -84,4 +84,4 @@ trait SaslSetup { System.clearProperty("zookeeper.authProvider.1"); Configuration.setConfiguration(null) } -} \ No newline at end of file +}
