What do most hotels do when guests have urinated in the pools?
Generally add chlorine and give it about 20 minutes of circulation and you are good to go. Many pools will not close at all - some do to put the guests at ease.
Feces (if solid) is treated in the same manner but again is not a big deal - chlorine and 30 minutes of circulation and you are good. Again most pools will close for 30 minutes but not all.
Diarrhea is a problem. Diarrhea often keads to recreational water illnesses - mainly crypto. The pool will close. The chlorine will be raised very very high to ensure that crypto is inactivated - generally 45 minutes to an hour. Depending on local regulations, a water inspector of the local health department may have to test before reopening. Most larger properties have someone on staff qualified to run that test. If crypto or another parasite is detected the pool may be kept closed for longer. If you are a guest - don't assume the other pools are safe. Many properties use shared filtration systems.
Bottom line - diarrhea is a problem -the rest may be disgusting mutual the potwntial for a RWI is very low.