Fixing test-order dependency for FstObjectInputTest (#2815)
This commit is contained in:
parent
38c2151857
commit
437c6ce220
|
|
@ -18,6 +18,7 @@ package org.apache.dubbo.common.serialize.fst;
|
|||
|
||||
import org.apache.dubbo.common.serialize.model.AnimalEnum;
|
||||
import org.apache.dubbo.common.serialize.model.person.FullAddress;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
@ -41,6 +42,11 @@ public class FstObjectOutputTest {
|
|||
this.fstObjectOutput = new FstObjectOutput(byteArrayOutputStream);
|
||||
}
|
||||
|
||||
@After
|
||||
public void tearDown() throws IOException {
|
||||
new FstObjectInput(new ByteArrayInputStream(new byte[]{0}));
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testWriteBool() throws IOException {
|
||||
|
|
|
|||
Loading…
Reference in New Issue