Reloadable Service tests are not quite correct on Unix

Description

The test is forcing the last changed date to a value (-1) which causes issues on Unixen.

There is also evidence that it is not deleted the file behind itself.

http://shibboleth.net/pipermail/dev/2015-February/006078.html

These should be fixed.

Environment

None

Activity

Rod Widdowson March 2, 2015 at 10:12 AM

All done save for EvaluableScriptTest which has now been fixed.

Leaving Fix Version empty since it is not end user visible (it isn't a fix to the code, it is a fix to a test).

But leaving unresolved in case that was wrong

Rod Widdowson February 23, 2015 at 3:16 PM

R761 cleans up the observed issue with lastModifiedDate being reported as not being reported correctly in the ReloadableSpringServiceTest. Also cleans up left over garbage correctly (by remembering to delete the directory as well as its contents)
R762 cleans up the little accidents left behind by HTTPResourceTest and FileBackedHTTPResourceTest
R762 does the same for FileBackedHTTPResourceTest

I've leave this foe a few more days and then check that nothing is being left behind.

Tom Zeller February 12, 2015 at 3:21 AM

Temp files for HTTPResourceTest, FileBackedHTTPResourceTest, and EvaluableScriptTest are also still in /tmp, but with recent dates, not 1969 like the ReloadableSpringServiceTest. Jenkins was idle when I looked.

Fixed

Details

Assignee

Reporter

Original estimate

Created February 11, 2015 at 2:43 PM
Updated September 29, 2017 at 5:46 PM
Resolved March 2, 2015 at 10:12 AM