opengeospatial / ets-wfs20

Executable Test Suite for WFS 2.0
Other
9 stars 11 forks source link

Locking WFS - All tests fail #4

Closed bermud closed 10 years ago

bermud commented 10 years ago

The test capabilitiesDescribesLockingWFS() passes.

Then the test _lockAllFeaturesByType() _is skipped with the reason:

** Nodata available for feature type {http://www.interactive-
instruments.de/namespaces/cite/wfst}City**. 

But there is definitely data available for this FT (Basic and Simple pass, Transactional partly).

All other tests fail without a reasonable message:

lockAllQueryResults_30Seconds()     13:09:34     0 ms
java.lang.NullPointerException:  
lockQueryResults_hits()     13:09:34     0 ms
java.lang.NullPointerException:  
lockSomeQueryResults()     13:09:34     1 ms
java.lang.NullPointerException:  
lockFeatureAlreadyLocked()     13:09:34     0 ms
java.util.NoSuchElementException:  
lockFeatureAndAttemptDelete()     13:09:34     0 ms
java.util.NoSuchElementException:  
resetNonexistentLock()     13:09:34     0 ms
java.util.NoSuchElementException:

Maybe a inherited error from the skipped lockAllFeaturesByType() tests?**

Originally reported in the OGC CITE issue tracker: issue #948
Opened: 2014-04-24 09:20:11 Last Updated: 2014-06-09 15:52:56

bermud commented 10 years ago

Is there an accessible implementation I can run the locking tests against? Very difficult to diagnose otherwise. This XtraServer instance is a "Basic" implementation:

http://services.interactive-instruments.de/cite2013wfs/simpledemo/cgi-bin/cities-postgresql/wfs?request=GetCapabilities&service=WFS

Entered By: Martell, Richard - 2014-06-09 12:42:32

bermud commented 10 years ago

Yep this instance is "Basic". It's difficult to provide a public WFS-T because after the tests run the database is kind of "mixed up".

I try to find out what we can do.

Entered By: Fischer, Jean-Michel - 2014-06-09 13:18:32

bermud commented 10 years ago

Fixed in r16. Attempts to identify feature types with available instances failed to find any, causing errors in several locking tests. Amended LockingFixture to consult the data sampler for this info.

Entered By: Martell, Richard - 2014-06-09 15:52:56