etf-validator / etf-webapp

:earth_africa: :mag: ETF is an open source testing framework for spatial data and services
https://www.etf-validator.net
European Union Public License 1.2
19 stars 19 forks source link

Monitoring a TEAM Engine test run after the first start fails #147

Closed jonherrmann closed 2 years ago

jonherrmann commented 6 years ago

ETF fails running a TEAM engine test after the first start, when the test run is monitored, with this exception:

java.lang.IllegalStateException: Executable Test Suite does not possess test items at de.interactive_instruments.etf.testdriver.DefaultTestRun$RunProgress.getMaxSteps(DefaultTestRun.java:80) at de.interactive_instruments.etf.webapp.controller.TestRunController$TaskProgressDto.createCompletedMsg(TestRunController.java:136) at de.interactive_instruments.etf.webapp.controller.TestRunController.progressLog(TestRunController.java:353)

The problem occurs because the test steps are not known since they are inserted after the first test run of the ETS. This only applies to the TEAM Engine test driver.

The issue could be fixed, by inserting a dummy assertion in the TypeLoader, which will then be overriden after the first run.

jonherrmann commented 2 years ago

Fixed in Version 2.1