public class ChownrCommandTest extends AbstractTfsShellTest {
@Test
public void chownrTest() throws IOException, TachyonException {
Whitebox.setInternalState(LoginUser.class, "sLoginUser", (String) null);
mFsShell.run("mkdir", "/testFolder1");
<BUG>TachyonFSTestUtils.createByteFile(mTfs, "/testFolder1/testFile", TachyonStorageType.STORE,

UnderStorageType.NO_PERSIST, 10);</BUG>
mFsShell.run("chownr", "user1", "/testFolder1");
<BUG>TachyonFile tf = mTfs.open(new TachyonURI("/testFolder1/testFile"));
String owner = mTfs.getInfo(mTfs.open(new TachyonURI("/testFolder1/testFile"))).getUserName();
</BUG>
Assert.assertEquals("user1", owner);

public class ChownrCommandTest extends AbstractTfsShellTest {
@Test
public void chownrTest() throws IOException, TachyonException {
Whitebox.setInternalState(LoginUser.class, "sLoginUser", (String) null);
mFsShell.run("mkdir", "/testFolder1");
TachyonFSTestUtils.createByteFile(mTfs, "/testFolder1/testFile", WriteType.MUST_CACHE, 10);
mFsShell.run("chownr", "user1", "/testFolder1");
String owner = mTfs.getStatus(new TachyonURI("/testFolder1/testFile")).getUserName();
Assert.assertEquals("user1", owner);
