fluggo / investigator

Elasticsearch-based log search and wiki application
GNU General Public License v3.0
2 stars 0 forks source link

Wiki tests are not cleaning up previous indexes #1

Open fluggo opened 6 years ago

fluggo commented 6 years ago

After a test run, I'm left with:

 test-wiki-2018-04-15-13-11-33-378
 test-wiki-2018-04-15-13-11-33-777
 test-wiki-2018-04-15-13-11-35-613
 test-wiki-2018-04-15-13-11-38-978
 test-wiki-2018-04-15-13-11-39-311
 test-wiki-2018-04-15-13-11-39-638
 test-wiki-2018-04-15-13-11-39-941
 test-wiki-2018-04-15-13-11-40-301
 test-wiki-2018-04-15-13-11-40-627
 test-wiki-2018-04-15-13-11-41-465
 test-wiki-2018-04-15-13-11-41-955

Possibly also test-user. The tests should be cleaning these up as they go.

fluggo commented 6 years ago

These are due to a safety feature in reloadTagsWithReindex which doesn't delete the previous version of the index in case something went wrong.

We should probably get rid of that in favor of testing (which we got) and backups (which we don't got, at least nothing automatic).