Skip to content

Commit 8ec88ab

Browse files
author
mpv1989
committed
fixed tests to be independent of storage engine
1 parent 27557b9 commit 8ec88ab

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,6 @@ public void createGeoIndex() {
755755
assertThat(indexResult.getId(), startsWith(COLLECTION_NAME));
756756
assertThat(indexResult.getIsNewlyCreated(), is(true));
757757
assertThat(indexResult.getMinLength(), is(nullValue()));
758-
assertThat(indexResult.getSelectivityEstimate(), is(nullValue()));
759758
assertThat(indexResult.getSparse(), is(true));
760759
assertThat(indexResult.getType(), is(IndexType.geo1));
761760
assertThat(indexResult.getUnique(), is(false));
@@ -775,7 +774,6 @@ public void createGeo2Index() {
775774
assertThat(indexResult.getId(), startsWith(COLLECTION_NAME));
776775
assertThat(indexResult.getIsNewlyCreated(), is(true));
777776
assertThat(indexResult.getMinLength(), is(nullValue()));
778-
assertThat(indexResult.getSelectivityEstimate(), is(nullValue()));
779777
assertThat(indexResult.getSparse(), is(true));
780778
assertThat(indexResult.getType(), is(IndexType.geo2));
781779
assertThat(indexResult.getUnique(), is(false));
@@ -795,7 +793,6 @@ public void createSkiplistIndex() {
795793
assertThat(indexResult.getId(), startsWith(COLLECTION_NAME));
796794
assertThat(indexResult.getIsNewlyCreated(), is(true));
797795
assertThat(indexResult.getMinLength(), is(nullValue()));
798-
assertThat(indexResult.getSelectivityEstimate(), is(nullValue()));
799796
assertThat(indexResult.getSparse(), is(false));
800797
assertThat(indexResult.getType(), is(IndexType.skiplist));
801798
assertThat(indexResult.getUnique(), is(false));
@@ -815,7 +812,6 @@ public void createPersistentIndex() {
815812
assertThat(indexResult.getId(), startsWith(COLLECTION_NAME));
816813
assertThat(indexResult.getIsNewlyCreated(), is(true));
817814
assertThat(indexResult.getMinLength(), is(nullValue()));
818-
assertThat(indexResult.getSelectivityEstimate(), is(nullValue()));
819815
assertThat(indexResult.getSparse(), is(false));
820816
assertThat(indexResult.getType(), is(IndexType.persistent));
821817
assertThat(indexResult.getUnique(), is(false));
@@ -832,7 +828,6 @@ public void createFulltextIndex() {
832828
assertThat(indexResult.getGeoJson(), is(nullValue()));
833829
assertThat(indexResult.getId(), startsWith(COLLECTION_NAME));
834830
assertThat(indexResult.getIsNewlyCreated(), is(true));
835-
assertThat(indexResult.getSelectivityEstimate(), is(nullValue()));
836831
assertThat(indexResult.getSparse(), is(true));
837832
assertThat(indexResult.getType(), is(IndexType.fulltext));
838833
assertThat(indexResult.getUnique(), is(false));
@@ -1726,11 +1721,9 @@ public void changeProperties() {
17261721
assertThat(properties.getWaitForSync(), is(notNullValue()));
17271722
final CollectionPropertiesOptions options = new CollectionPropertiesOptions();
17281723
options.waitForSync(!properties.getWaitForSync());
1729-
options.journalSize(2000000L);
17301724
final CollectionPropertiesEntity changedProperties = db.collection(COLLECTION_NAME).changeProperties(options);
17311725
assertThat(changedProperties.getWaitForSync(), is(notNullValue()));
17321726
assertThat(changedProperties.getWaitForSync(), is(not(properties.getWaitForSync())));
1733-
assertThat(changedProperties.getJournalSize(), is(options.getJournalSize()));
17341727
}
17351728

17361729
@Test

0 commit comments

Comments
 (0)