If your motorcycle begins to weave while you are riding over rain grooves or bridge gratings, you should:

If your motorcycle begins to weave when riding over grooves or gratings, simply maintain a steady speed and proceed straight across the surface. Trying to compensate for the weave by riding at an angle forces you to zigzag to stay in your lane, which is more dangerous.
DMV Writen Test