@@ -44,21 +44,21 @@ public CosmosItemIdEncodingTest(CosmosClientBuilder clientBuilder) {
4444 super (clientBuilder .contentResponseOnWriteEnabled (true ));
4545 }
4646
47- @ BeforeClass (groups = {"simple" }, timeOut = SETUP_TIMEOUT )
47+ @ BeforeClass (groups = {"simple" , "emulator" }, timeOut = SETUP_TIMEOUT )
4848 public void before_CosmosItemTest () {
4949 assertThat (this .client ).isNull ();
5050 this .client = getClientBuilder ().buildClient ();
5151 CosmosAsyncContainer asyncContainer = getSharedMultiPartitionCosmosContainer (this .client .asyncClient ());
5252 container = client .getDatabase (asyncContainer .getDatabase ().getId ()).getContainer (asyncContainer .getId ());
5353 }
5454
55- @ AfterClass (groups = {"simple" }, timeOut = SHUTDOWN_TIMEOUT , alwaysRun = true )
55+ @ AfterClass (groups = {"simple" , "emulator" }, timeOut = SHUTDOWN_TIMEOUT , alwaysRun = true )
5656 public void afterClass () {
5757 assertThat (this .client ).isNotNull ();
5858 this .client .close ();
5959 }
6060
61- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
61+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
6262 public void plainVanillaId () {
6363 TestScenario scenario = new TestScenario (
6464 "PlainVanillaId" ,
@@ -85,7 +85,7 @@ public void plainVanillaId() {
8585 this .executeTestCase (scenario );
8686 }
8787
88- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
88+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
8989 public void containerIdWithUnicodeCharacter () {
9090 TestScenario scenario = new TestScenario (
9191 "ContainerIdWithUnicode鱀" ,
@@ -112,7 +112,7 @@ public void containerIdWithUnicodeCharacter() {
112112 this .executeTestCase (scenario );
113113 }
114114
115- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
115+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
116116 public void idWithWhitespaces () {
117117 TestScenario scenario = new TestScenario (
118118 "IdWithWhitespaces" ,
@@ -139,7 +139,7 @@ public void idWithWhitespaces() {
139139 this .executeTestCase (scenario );
140140 }
141141
142- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
142+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
143143 public void idStartingWithWhitespace () {
144144 TestScenario scenario = new TestScenario (
145145 "IdStartingWithWhitespace" ,
@@ -166,7 +166,7 @@ public void idStartingWithWhitespace() {
166166 this .executeTestCase (scenario );
167167 }
168168
169- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
169+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
170170 public void idStartingWithWhitespaces () {
171171 TestScenario scenario = new TestScenario (
172172 "IdStartingWithWhitespaces" ,
@@ -193,7 +193,7 @@ public void idStartingWithWhitespaces() {
193193 this .executeTestCase (scenario );
194194 }
195195
196- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
196+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
197197 public void idEndingWithWhitespace () {
198198 TestScenario scenario = new TestScenario (
199199 "IdEndingWithWhitespace" ,
@@ -220,7 +220,7 @@ public void idEndingWithWhitespace() {
220220 this .executeTestCase (scenario );
221221 }
222222
223- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
223+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
224224 public void idEndingWithWhitespaces () {
225225 TestScenario scenario = new TestScenario (
226226 "IdEndingWithWhitespaces" ,
@@ -247,7 +247,7 @@ public void idEndingWithWhitespaces() {
247247 this .executeTestCase (scenario );
248248 }
249249
250- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
250+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
251251 public void idWithUnicodeCharacters () {
252252 TestScenario scenario = new TestScenario (
253253 "IdWithUnicodeCharacters" ,
@@ -274,7 +274,7 @@ public void idWithUnicodeCharacters() {
274274 this .executeTestCase (scenario );
275275 }
276276
277- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
277+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
278278 public void idWithAllowedSpecialCharacters () {
279279 TestScenario scenario = new TestScenario (
280280 "IdWithAllowedSpecialCharacters" ,
@@ -301,7 +301,7 @@ public void idWithAllowedSpecialCharacters() {
301301 this .executeTestCase (scenario );
302302 }
303303
304- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
304+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
305305 public void idWithBase64EncodedIdCharacters () {
306306 String base64EncodedId = "BQE1D3PdG4N4bzU9TKaCIM3qc0TVcZ2/Y3jnsRfwdHC1ombkX3F1dot/SG0/UTq9AbgdX3kOWoP6qL6lJqWeKgV3zwWWPZO/t5X0ehJzv9LGkWld07LID2rhWhGT6huBM6Q=" ;
307307 String safeBase64EncodedId = base64EncodedId .replace ("/" , "-" );
@@ -331,7 +331,7 @@ public void idWithBase64EncodedIdCharacters() {
331331 this .executeTestCase (scenario );
332332 }
333333
334- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
334+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
335335 public void idEndingWithPercentEncodedWhitespace () {
336336 TestScenario scenario = new TestScenario (
337337 "IdEndingWithPercentEncodedWhitespace" ,
@@ -358,7 +358,7 @@ public void idEndingWithPercentEncodedWhitespace() {
358358 this .executeTestCase (scenario );
359359 }
360360
361- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
361+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
362362 public void idWithPercentEncodedSpecialChar () {
363363 TestScenario scenario = new TestScenario (
364364 "IdWithPercentEncodedSpecialChar" ,
@@ -385,7 +385,7 @@ public void idWithPercentEncodedSpecialChar() {
385385 this .executeTestCase (scenario );
386386 }
387387
388- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
388+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
389389 public void idWithDisallowedCharQuestionMark () {
390390 TestScenario scenario = new TestScenario (
391391 "IdWithDisallowedCharQuestionMark" ,
@@ -413,7 +413,7 @@ public void idWithDisallowedCharQuestionMark() {
413413 }
414414
415415 @ Ignore ("Throws IllegalArgumentException instead of CosmosException" )
416- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
416+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
417417 public void idWithDisallowedCharForwardSlash () {
418418 TestScenario scenario = new TestScenario (
419419 "IdWithDisallowedCharForwardSlash" ,
@@ -440,7 +440,7 @@ public void idWithDisallowedCharForwardSlash() {
440440 this .executeTestCase (scenario );
441441 }
442442
443- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
443+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
444444 public void idWithDisallowedCharBackSlash () {
445445 TestScenario scenario = new TestScenario (
446446 "IdWithDisallowedCharBackSlash" ,
@@ -467,7 +467,7 @@ public void idWithDisallowedCharBackSlash() {
467467 this .executeTestCase (scenario );
468468 }
469469
470- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
470+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
471471 public void idWithDisallowedCharPoundSign () {
472472 TestScenario scenario = new TestScenario (
473473 "IdWithDisallowedCharPoundSign" ,
@@ -494,7 +494,7 @@ public void idWithDisallowedCharPoundSign() {
494494 this .executeTestCase (scenario );
495495 }
496496
497- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
497+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
498498 public void idWithCarriageReturn () {
499499 TestScenario scenario = new TestScenario (
500500 "IdWithCarriageReturn" ,
@@ -521,7 +521,7 @@ public void idWithCarriageReturn() {
521521 this .executeTestCase (scenario );
522522 }
523523
524- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
524+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
525525 public void idWithTab () {
526526 TestScenario scenario = new TestScenario (
527527 "IdWithTab" ,
@@ -548,7 +548,7 @@ public void idWithTab() {
548548 this .executeTestCase (scenario );
549549 }
550550
551- @ Test (groups = { "simple" }, timeOut = TIMEOUT )
551+ @ Test (groups = { "simple" , "emulator" }, timeOut = TIMEOUT )
552552 public void idWithLineFeed () {
553553 TestScenario scenario = new TestScenario (
554554 "IdWithLineFeed" ,
0 commit comments