NEW YORK (CBS 2) — A boil water advisory is in effect for several suburban New York communities on both sides of the Hudson River.

The advisory is in effect for sections of Ramapo and New City in Rockland County until Monday night pending results of two tests. About 540 United Water customers are affected.

READ MORE: NYC Primary: Eric Adams Leads Democratic Mayoral Race In First Round Of Results; Andrew Yang Concedes Early

In Westchester County, residents in Sleepy Hollow, Tarrytown, Elmsford, Hawthorne, Valhalla and Thornwood are also advised to boil water before drinking or using it for food preparation.

READ MORE: NYC Primary: Guardian Angels Founder Curtis Sliwa Is Projected Winner Of Republican Mayoral Primary

The advisory was lifted Monday for residents of Briarcliff, Grasslands Reservation and Irvington.

Health officials say the recent snowstorms may have affected water quality there.

MORE NEWS: NYC Primary: So Many Options For Manhattan District Attorney, And Ranked Choice Voting Doesn't Apply

The advisory means water should be boiled at least one minute.