Skip to content

Commit

Permalink
AVRO-2066 Wrong schema file used in one TestSpecificCompiler test case
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Busbey <[email protected]>
  • Loading branch information
nkollar authored and busbey committed Sep 1, 2017
1 parent 09c997e commit 189368e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ public void testNullableTypesJavaUnbox() throws Exception {
@Test
public void testLogicalTypesWithMultipleFields() throws Exception {
Schema logicalTypesWithMultipleFields = new Schema.Parser().parse(
new File("src/test/resources/simple_record.avsc"));
new File("src/test/resources/logical_types_with_multiple_fields.avsc"));
assertCompilesWithJavaCompiler(
new SpecificCompiler(logicalTypesWithMultipleFields).compile());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
import java.util.Collections;
import java.util.List;

import junit.framework.Assert;

import org.apache.avro.AvroRuntimeException;
import org.apache.avro.Foo;
import org.apache.avro.Interop;
Expand All @@ -34,6 +32,7 @@
import org.apache.avro.ipc.specific.PageView;
import org.apache.avro.ipc.specific.Person;
import org.apache.avro.ipc.specific.ProductPage;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;

Expand Down

0 comments on commit 189368e

Please sign in to comment.