aodn / python-aodndata

Handlers, destination path functions and any other code specific to a given facility or pipeline
GNU General Public License v3.0
0 stars 0 forks source link

AnfogHandler - test_adapter leaves permanent file in tmp #275

Open lbesnard opened 3 years ago

lbesnard commented 3 years ago

I'm currently investigating why there are so many empty tmp dirs in 10-aws. During my investigation, I stumbled upon the Anfog handler leaving some unittest files in:

/tmp/probably/doesnt/exist/archive/UWA/slocum_glider/AdapterNWS20120415/IMOS_UWA_BCEPRSTUV_20120415T074534Z_Groucho_FV00_timeseries_END-20120421T025919Z.nc

created by test_adapter unittest probably in the archive part of the code

mhidas commented 3 years ago

Hmm... who is running the unittests on 10-aws-syd?

lbesnard commented 3 years ago

Hmm... who is running the unittests on 10-aws-syd?

Sorry If I wasn't clear enough. The empty dirs on 10-aws are one thing. But what I meant is that the anfog handler is leaving some unittests tmp file when run manually on your local machine