This is an automated email from the ASF dual-hosted git repository.
dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push:
new e45b3b4007 Removed failure dir from
ShellServerIT.importDirectoryCmdFmt (#5053)
e45b3b4007 is described below
commit e45b3b400732fddb9b07f8319462e9191d1dcb82
Author: Dave Marion <[email protected]>
AuthorDate: Tue Nov 12 10:06:09 2024 -0500
Removed failure dir from ShellServerIT.importDirectoryCmdFmt (#5053)
---
.../src/main/java/org/apache/accumulo/test/shell/ShellServerIT.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git
a/test/src/main/java/org/apache/accumulo/test/shell/ShellServerIT.java
b/test/src/main/java/org/apache/accumulo/test/shell/ShellServerIT.java
index 3bd99c5015..dfbea21b04 100644
--- a/test/src/main/java/org/apache/accumulo/test/shell/ShellServerIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/shell/ShellServerIT.java
@@ -2042,11 +2042,9 @@ public class ShellServerIT extends SharedMiniClusterBase
{
File importDir = new File(rootPath, "import_" + table);
assertTrue(importDir.mkdir());
- File errorsDir = new File(rootPath, "errors_" + table);
- assertTrue(errorsDir.mkdir());
// expect fail - table does not exist.
- ts.exec(String.format("importdirectory -t %s %s %s false", table,
importDir, errorsDir), false,
+ ts.exec(String.format("importdirectory -t %s %s false", table, importDir),
false,
"TableNotFoundException");
ts.exec(String.format("table %s", table), false, "TableNotFoundException");
@@ -2066,7 +2064,7 @@ public class ShellServerIT extends SharedMiniClusterBase {
// expect fail - original cmd without a table.
ts.exec("notable", true);
- ts.exec(String.format("importdirectory %s %s false", importDir,
errorsDir), false,
+ ts.exec(String.format("importdirectory %s false", importDir), false,
"java.lang.IllegalStateException: Not in a table context.");
}