You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running the LILS generator script I had entities with much higher ids (as I have already used the other components for development in the past). These tests are fairly generic, any id will do as long as it matches an entity. Suggest this should be changed to find an existing id first, rather than being hardcoded to 1.
There's no timeout set in https://github.com/ral-facilities/datagateway-download-api/blob/master/src/test/resources/run.properties, which is fine if the tests pass but will hang indefinitely if the IDS is incorrectly configured (for me this was because I was using localhost rather than the FQDN in the IDS run.properties, which lead to IdsBean never initialising but retrying forever). The tests should either succeed or fail relatively quickly, so setting this to a few seconds would prevent long running CI and make it clearer that something has gone wrong.
The text was updated successfully, but these errors were encountered:
While attempting to set up a dev environment and run the tests, ran into the following problems:
1
in two tests:datagateway-download-api/src/test/java/org/icatproject/topcat/UserResourceTest.java
Line 91 in ba06dec
datagateway-download-api/src/test/java/org/icatproject/topcat/UserResourceTest.java
Lines 130 to 141 in ba06dec
After running the LILS generator script I had entities with much higher ids (as I have already used the other components for development in the past). These tests are fairly generic, any id will do as long as it matches an entity. Suggest this should be changed to find an existing id first, rather than being hardcoded to
1
.localhost
rather than the FQDN in the IDSrun.properties
, which lead toIdsBean
never initialising but retrying forever). The tests should either succeed or fail relatively quickly, so setting this to a few seconds would prevent long running CI and make it clearer that something has gone wrong.The text was updated successfully, but these errors were encountered: