Typically, testing checks for E. coli bacteria in freshwater and enterococcus bacteria -- which indicate fecal contamination -- in ocean water. If levels go beyond a federally established limit, the beach should be closed to swimming. There is no national requirement to post signs on beaches when the water is contaminated.