Research has suggested that fasting may not be necessary before all cholesterol and triglyceride tests. However, people who are having these tests should refrain from drinking alcohol for 24 hours before the test.