Repository: accumulo Updated Branches: refs/heads/1.6.0-SNAPSHOT 278438337 -> 4fabfbaa1 refs/heads/master 26b6d7371 -> 7939ed2cc
ACCUMULO-2438 Rename the test so that surefire doesn't pick it up as a unit test Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4fabfbaa Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4fabfbaa Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4fabfbaa Branch: refs/heads/1.6.0-SNAPSHOT Commit: 4fabfbaa12ec71e4495af5162717677aee3a9125 Parents: 2784383 Author: Josh Elser <els...@apache.org> Authored: Fri Mar 7 13:23:19 2014 -0500 Committer: Josh Elser <els...@apache.org> Committed: Fri Mar 7 13:23:19 2014 -0500 ---------------------------------------------------------------------- .../org/apache/accumulo/test/DeleteRowsIT.java | 42 ++++++++++++++++++++ .../apache/accumulo/test/TestDeleteRowsIT.java | 42 -------------------- 2 files changed, 42 insertions(+), 42 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/4fabfbaa/test/src/test/java/org/apache/accumulo/test/DeleteRowsIT.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/test/DeleteRowsIT.java b/test/src/test/java/org/apache/accumulo/test/DeleteRowsIT.java new file mode 100644 index 0000000..190f693 --- /dev/null +++ b/test/src/test/java/org/apache/accumulo/test/DeleteRowsIT.java @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * 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 + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.accumulo.test; + +import static org.junit.Assert.assertEquals; + +import org.apache.accumulo.core.client.Connector; +import org.apache.accumulo.core.client.Scanner; +import org.apache.accumulo.core.security.Authorizations; +import org.apache.accumulo.test.functional.FunctionalTestUtils; +import org.apache.accumulo.test.functional.SimpleMacIT; +import org.junit.Test; + +public class DeleteRowsIT extends SimpleMacIT { + + @Test(timeout = 60 * 1000) + public void test() throws Exception { + Connector c = getConnector(); + String[] tableNames = this.getTableNames(20); + for (String tableName : tableNames) { + c.tableOperations().create(tableName); + c.tableOperations().deleteRows(tableName, null, null); + Scanner scanner = c.createScanner(tableName, Authorizations.EMPTY); + assertEquals(0, FunctionalTestUtils.count(scanner)); + } + } + +} http://git-wip-us.apache.org/repos/asf/accumulo/blob/4fabfbaa/test/src/test/java/org/apache/accumulo/test/TestDeleteRowsIT.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/test/TestDeleteRowsIT.java b/test/src/test/java/org/apache/accumulo/test/TestDeleteRowsIT.java deleted file mode 100644 index f33a617..0000000 --- a/test/src/test/java/org/apache/accumulo/test/TestDeleteRowsIT.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * 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 - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.accumulo.test; - -import static org.junit.Assert.assertEquals; - -import org.apache.accumulo.core.client.Connector; -import org.apache.accumulo.core.client.Scanner; -import org.apache.accumulo.core.security.Authorizations; -import org.apache.accumulo.test.functional.FunctionalTestUtils; -import org.apache.accumulo.test.functional.SimpleMacIT; -import org.junit.Test; - -public class TestDeleteRowsIT extends SimpleMacIT { - - @Test(timeout = 60 * 1000) - public void test() throws Exception { - Connector c = getConnector(); - String[] tableNames = this.getTableNames(20); - for (String tableName : tableNames) { - c.tableOperations().create(tableName); - c.tableOperations().deleteRows(tableName, null, null); - Scanner scanner = c.createScanner(tableName, Authorizations.EMPTY); - assertEquals(0, FunctionalTestUtils.count(scanner)); - } - } - -}