HBASE-23920 Pass --copy-to argument in ExportSnapshot tests (#1234)

Signed-off-by: Jan Hentschel <janh@apache.org>
This commit is contained in:
Peter Somogyi 2020-03-03 16:32:35 +01:00 committed by GitHub
parent 5dcbe687ae
commit 72adfffd28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@ public class TestExportSnapshot {
opts.add("--snapshot");
opts.add(snapshotName);
opts.add("--copy-to");
opts.add(tgtDir.toString());
if (!targetName.equals(snapshotName)) {
opts.add("--target");
opts.add(targetName);