Created
September 6, 2021 16:00
-
-
Save jbarotin/89b2247efcb5f117c38e1c73dc7f372d to your computer and use it in GitHub Desktop.
Sensitive test case
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package seaweedfs.client; | |
import org.junit.Test; | |
import java.io.IOException; | |
import java.util.List; | |
public class SeaweedCaseTest { | |
@Test | |
public void testCaseSensitiveFilename() throws IOException { | |
FilerClient filerClient = new FilerClient("mycluster", 18888); | |
filerClient.touch("/test/NEW_TEST_File", 0755); | |
filerClient.touch("/test/new_TEST_FILE", 0755); | |
List<FilerProto.Entry> entries = filerClient.listEntries("/test"); | |
for (FilerProto.Entry entry : entries) { | |
System.out.println(entry.toString()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment