JDBC test assumes order of feature retrieval

Description

currently the testGetFeatureReader in JDBCDatastoreTest assumes that the features are retrieved from the database in a certain order and if the database does not return the features in the same order as they are inserted the test fails.

My question:

Is there a rule that states that features must be returned from a feature source in a certain order or could this test be less strict with regards to ordering?

If it is agreed that this is a bug and the test should be rewritten I will do so.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 2:55 PM

CodeHaus Comment From: christian.mueller@nvoe.at - Time: Wed, 30 Mar 2011 10:29:35 -0500
---------------------
Again, all tests of for DB2

codehaus
April 10, 2015, 2:55 PM

CodeHaus Comment From: jeichar - Time: Thu, 31 Mar 2011 10:52:33 -0500
---------------------
Thanks guys,

I will commit then. All h2 and postgis tests pass with the changes.

codehaus
April 10, 2015, 2:55 PM

CodeHaus Comment From: jeichar - Time: Thu, 31 Mar 2011 10:57:03 -0500
---------------------
Ok Changes committed. With luck the build will not be broken. It is end of the day here. I will check tonight and tomorrow morning.

codehaus
April 10, 2015, 2:55 PM

CodeHaus Comment From: aaime - Time: Sat, 9 Apr 2011 02:13:54 -0500
---------------------
Changes committed, yet still open. Is there more work to do on this one, or can we close it?

codehaus
April 10, 2015, 2:55 PM

CodeHaus Comment From: aaime - Time: Sun, 1 May 2011 12:17:07 -0500
---------------------
Assuming it's done (have seen work on teradata, nothing on order assumptions lately though)

Fixed

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Medium
Configure