Skip to content

Commit

Permalink
Don't rely on updates being sorted in SimpleIndexAccessorCompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
burqen committed Sep 20, 2018
1 parent 0b0b76c commit 926451f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@
import org.neo4j.internal.kernel.api.IndexQuery;
import org.neo4j.kernel.api.schema.index.TestIndexDescriptorFactory;
import org.neo4j.storageengine.api.schema.IndexDescriptor;
import org.neo4j.values.storable.ArrayValue;
import org.neo4j.storageengine.api.schema.SimpleNodeValueClient;
import org.neo4j.values.storable.BooleanValue;
import org.neo4j.values.storable.ArrayValue;
import org.neo4j.values.storable.CoordinateReferenceSystem;
import org.neo4j.values.storable.DateTimeValue;
import org.neo4j.values.storable.DateValue;
Expand Down Expand Up @@ -357,6 +356,7 @@ private void testIndexRangeSeek( Supplier<? extends Value> generator ) throws Ex
{
updates.add( add( i + 1, descriptor.schema(), values.get( i ) ) );
}
Collections.shuffle( updates ); // <- Don't rely on insert order

updateAndCommit( updates );

Expand Down

0 comments on commit 926451f

Please sign in to comment.