Wait for the files to finish processing completely in the flags tests