This is an automated email from the ASF dual-hosted git repository.

iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new 437c6ce  Fixing test-order dependency for FstObjectInputTest (#2815)
437c6ce is described below

commit 437c6ce220eb294534420ad366a1b43de5cf0ebb
Author: OrDTesters <[email protected]>
AuthorDate: Mon Dec 10 02:28:15 2018 -0600

    Fixing test-order dependency for FstObjectInputTest (#2815)
---
 .../org/apache/dubbo/common/serialize/fst/FstObjectOutputTest.java  | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/dubbo-serialization/dubbo-serialization-test/src/test/java/org/apache/dubbo/common/serialize/fst/FstObjectOutputTest.java
 
b/dubbo-serialization/dubbo-serialization-test/src/test/java/org/apache/dubbo/common/serialize/fst/FstObjectOutputTest.java
index ecf2335..8126b6f 100644
--- 
a/dubbo-serialization/dubbo-serialization-test/src/test/java/org/apache/dubbo/common/serialize/fst/FstObjectOutputTest.java
+++ 
b/dubbo-serialization/dubbo-serialization-test/src/test/java/org/apache/dubbo/common/serialize/fst/FstObjectOutputTest.java
@@ -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 {

Reply via email to