Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ORC-1853: Rename class TesScanData to TestScanData #2132

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

import static org.junit.jupiter.api.Assertions.assertTrue;

public class TesScanData {
public class TestScanData {
private Path workDir = new Path(System.getProperty("test.tmp.dir"));
private Configuration conf;
private FileSystem fs;
Expand All @@ -47,7 +47,7 @@ public void openFileSystem() throws Exception {
conf = new Configuration();
fs = FileSystem.getLocal(conf);
fs.setWorkingDirectory(workDir);
testFilePath = new Path("TesScanData.testScan.orc");
testFilePath = new Path("TestScanData.testScan.orc");
fs.delete(testFilePath, false);
}

Expand Down Expand Up @@ -86,6 +86,6 @@ public void testScan() throws Exception {
assertTrue(output.contains("{\"category\": \"struct\", \"id\": 0, \"max\": 2, \"fields\": [\n" +
"{ \"x\": {\"category\": \"int\", \"id\": 1, \"max\": 1}},\n" +
"{ \"y\": {\"category\": \"string\", \"id\": 2, \"max\": 2}}]}"));
assertTrue(output.contains("File: TesScanData.testScan.orc, bad batches: 0, rows: 10000/10000"));
assertTrue(output.contains("File: TestScanData.testScan.orc, bad batches: 0, rows: 10000/10000"));
}
}
Loading