By the sunny pool, a group of men and women in bathing suits lined up to dance and sound cheerful music.