if you check its in saving and then decied to trigger the test by starting another save, by the time you do that it could have finished.
the only way that i can think of to do this correctly would be to develop a testing plugin for glance that would add a delay to the image import e.g. a plugin that just did a sleep 30 or something like that. then we could tune the dealy for our ci env and ensure we dont race.
unfortunetly that is still a race.
if you check its in saving and then decied to trigger the test by starting another save, by the time you do that it could have finished.
the only way that i can think of to do this correctly would be to develop a testing plugin for glance that would add a delay to the image import e.g. a plugin that just did a sleep 30 or something like that. then we could tune the dealy for our ci env and ensure we dont race.