Skip to content

Commit 1b1cd29

Browse files
committed
re-enabled some ignored tests
1 parent 3a042e0 commit 1b1cd29

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/test/java/com/arangodb/ArangoCollectionTest.java

+2-8
Original file line numberDiff line numberDiff line change
@@ -371,14 +371,12 @@ public void getDocumentIfNoneMatchFail() {
371371
}
372372

373373
@Test
374-
@Ignore
375-
// FIXME: test with VelocyJack fails due to slash escape char
376374
public void getDocumentAsJson() {
377375
String key = rnd();
378376
collection.insertDocument("{\"_key\":\"" + key + "\",\"a\":\"test\"}", null);
379377
final String readResult = collection.getDocument(key, String.class, null);
380-
assertThat(readResult.contains("\"_key\":\"" + key + "\""), is(true));
381-
assertThat(readResult.contains("\"_id\":\"" + COLLECTION_NAME + "\\/" + key + "\""), is(true));
378+
assertThat(readResult, containsString("\"_key\":\"" + key + "\""));
379+
assertThat(readResult, containsString("\"_id\":\"" + COLLECTION_NAME + "/" + key + "\""));
382380
}
383381

384382
@Test
@@ -437,11 +435,7 @@ public void getDocuments() {
437435
}
438436
}
439437

440-
/**
441-
* TODO: uncomment once the fix has been backported (3.4.9 and 3.5.1)
442-
*/
443438
@Test
444-
@Ignore
445439
public void getDocumentsWithCustomShardingKey() {
446440
ArangoCollection collection = db.collection("customShardingKeyCollection");
447441
if (collection.exists())

src/test/java/com/arangodb/StreamTransactionConflictsTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public StreamTransactionConflictsTest(final ArangoDB arangoDB) {
5454
}
5555

5656
@Test
57-
@Ignore
5857
public void conflictOnInsertDocumentWithNotYetCommittedTx() {
5958
assumeTrue(isSingleServer());
6059
assumeTrue(isAtLeastVersion(3, 5));

0 commit comments

Comments
 (0)