File tree Expand file tree Collapse file tree
src/test/java/io/github/thunderz99/cosmos/impl/cosmosdb Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <groupId >com.github.thunderz99</groupId >
55 <artifactId >java-cosmos</artifactId >
66 <packaging >jar</packaging >
7- <version >0.8.26.RC2 </version >
7+ <version >0.8.26.RC3 </version >
88 <name >${project.groupId} :${project.artifactId} $</name >
99 <description >A lightweight Azure CosmosDB client for Java</description >
1010 <url >https://github.com/thunderz99/java-cosmos</url >
Original file line number Diff line number Diff line change 55
66import io .github .thunderz99 .cosmos .util .EnvUtil ;
77import io .github .thunderz99 .cosmos .util .UniqueKeyUtil ;
8+ import org .apache .commons .lang3 .RandomStringUtils ;
89import org .junit .jupiter .api .Disabled ;
910import org .junit .jupiter .api .Test ;
1011
@@ -19,7 +20,7 @@ class CosmosImplTest {
1920 @ Test
2021 void testCreateAndDeleteCollection_withUniqueKey () throws Exception {
2122 var cosmos = new CosmosImpl (EnvUtil .get ("COSMOSDB_CONNECTION_STRING" ));
22- String testColl = "UnitTest2-UniqueKey" ;
23+ String testColl = "UnitTest2-UniqueKey" + RandomStringUtils . randomAlphanumeric ( 4 ) ;
2324 var id1 = "001" ;
2425 var id2 = "002" ;
2526 var partition = "Users" ;
You can’t perform that action at this time.
0 commit comments