Skip to content

Commit 26bd828

Browse files
committed
Fixed unit tests
1 parent e64cd21 commit 26bd828

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

exec/java-exec/src/test/java/org/apache/drill/exec/schema/daffodil/TestRemoteDaffodilSchemaRegistry.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import org.apache.drill.common.config.DrillConfig;
2222
import org.apache.drill.exec.ExecConstants;
2323
import org.apache.drill.test.BaseDirTestWatcher;
24+
import org.apache.drill.test.ClusterTest;
2425
import org.apache.drill.test.ConfigBuilder;
2526
import org.junit.After;
2627
import org.junit.Before;
@@ -36,7 +37,7 @@
3637
import static org.junit.Assert.assertNotNull;
3738

3839
@Category({SlowTest.class})
39-
public class TestRemoteDaffodilSchemaRegistry {
40+
public class TestRemoteDaffodilSchemaRegistry extends ClusterTest {
4041

4142
@Rule
4243
public final BaseDirTestWatcher dirTestWatcher = new BaseDirTestWatcher();

exec/java-exec/src/test/resources/drill-spool-test-module.conf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,16 @@ drill: {
9595
impl: "org.apache.drill.exec.work.batch.SpoolingRawBatchBuffer",
9696
delete: false,
9797
size: 0
98+
},
99+
daffodil: {
100+
retry-attempts: 5,
101+
directory: {
102+
base: "/tmp/drill/daffodil",
103+
local: "/tmp/drill/daffodil/local",
104+
staging: "/tmp/drill/daffodil/staging",
105+
registry: "/tmp/drill/daffodil/registry",
106+
tmp: "/tmp/drill/daffodil/tmp"
107+
}
98108
}
99109
}
100110
}

0 commit comments

Comments
 (0)