diff --git a/clients/unshaded/src/test/java/tachyon/client/file/options/InStreamOptionsTest.java b/clients/unshaded/src/test/java/tachyon/client/file/options/InStreamOptionsTest.java
index <HASH>..<HASH> 100644
--- a/clients/unshaded/src/test/java/tachyon/client/file/options/InStreamOptionsTest.java
+++ b/clients/unshaded/src/test/java/tachyon/client/file/options/InStreamOptionsTest.java
@@ -51,11 +51,13 @@ public class InStreamOptionsTest {
 
   @Test
   public void modifiedConfTest() {
+    TachyonConf originalConf = ClientContext.getConf();
     TachyonConf conf = new TachyonConf();
     conf.set(Constants.USER_FILE_READ_TYPE_DEFAULT, ReadType.NO_CACHE.toString());
     Whitebox.setInternalState(ClientContext.class, "sTachyonConf", conf);
 
     InStreamOptions options = InStreamOptions.defaults();
     Assert.assertEquals(ReadType.NO_CACHE.getTachyonStorageType(), options.getTachyonStorageType());
+    Whitebox.setInternalState(ClientContext.class, "sTachyonConf", originalConf);
   }
 }
restore conf in instream test.