This is an example of procrastination. Procrastination is the act of delaying or postponing tasks or activities that need to be done, often by engaging in other less important or more pleasurable activities instead. In this case, you need to study for your test, but you keep putting it off and finding other things to do instead.