Authorities responded to a COVID-19 cluster by testing the city’s entire population over a period of five days.