Skip to content

Commit

Permalink
Fixing test-order dependency for FstObjectInputTest (#2815)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrDTesters authored and beiwei30 committed Dec 10, 2018
1 parent 38c2151 commit 437c6ce
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

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;

Expand All @@ -41,6 +42,11 @@ public void setUp() {
this.fstObjectOutput = new FstObjectOutput(byteArrayOutputStream);
}

@After
public void tearDown() throws IOException {
new FstObjectInput(new ByteArrayInputStream(new byte[]{0}));
}


@Test
public void testWriteBool() throws IOException {
Expand Down

0 comments on commit 437c6ce

Please sign in to comment.