If you are approaching a traffic signal that you notice has been solid green for a long time, you should:

If you see an upcoming traffic light that has been solid green for a long time, it may change to yellow or red before you reach it. You should begin slowing down and preparing for the light to change.
DMV Writen Test