Open paynejd opened 2 months ago
Testing approach:
python imapimport.py --env=production -cTEST -pDAA-FY24 -t[your-api-token-here] UGA-DAA-FY24.json
python imapexport.py --env=production -cTEST -pDAA-FY24 -fJSON -t[your-api-token-here] > UGA-DAA-FY24.json
Note:
@paynejd I tried the import on Staging (and local) and it took 215 seconds.
@paynejd The way to add tests for this would be:
@paynejd With our latest deployment on Prod -- the import is taking around ~224.46291 secs. The time distribution is: "concept": 5.0442540645599365, "mapping": 50.38385057449341, "reference": 70.46909356117249
Rest of the time (~100 seconds) is in Repo Versions creation. Will profile that.
Importing Uganda's indicator mappings (IMAP) in production is taking ~8min. It's possible that this is a result of the update to OCL's import service and the atypical IMAP import. Previously, we did a lot of work to get these imports to take place in under 1 or 2 minutes.
Acceptance Criteria
@paynejd to add info on how to test this