You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by md...@apache.org on 2014/04/05 01:17:51 UTC

[3/6] git commit: ACCUMULO-2636 Fix globbing in python test

ACCUMULO-2636 Fix globbing in python test

Funtional test was using globbing and picked up the sources jar instead of the compiled jar.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/0f639240
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/0f639240
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/0f639240

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: 0f6392400d188b1177fde77fc4e645cfd617ff26
Parents: 83e65f2
Author: Mike Drob <md...@cloudera.com>
Authored: Tue Apr 1 11:23:01 2014 -0700
Committer: Mike Drob <md...@cloudera.com>
Committed: Fri Apr 4 16:14:56 2014 -0700

----------------------------------------------------------------------
 test/system/auto/simple/examples.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/0f639240/test/system/auto/simple/examples.py
----------------------------------------------------------------------
diff --git a/test/system/auto/simple/examples.py b/test/system/auto/simple/examples.py
index f05e58f..a728ec1 100755
--- a/test/system/auto/simple/examples.py
+++ b/test/system/auto/simple/examples.py
@@ -69,7 +69,7 @@ class Examples(TestUtilsMixin, unittest.TestCase):
 
     def runTest(self):
         self.ashell('createtable %s\nsetauths -u %s -s A,B\nquit\n' %(table, ROOT))
-        examplesJar = glob.glob(ACCUMULO_HOME+'/lib/examples-simple*.jar')[0]
+        examplesJar = glob.glob(os.path.join(ACCUMULO_HOME, 'lib', 'examples-simple*[!javadoc|sources].jar'))[0]
 
         self.comment("Testing dirlist example (a little)")
         self.comment("  ingesting accumulo source")