It all depends, so many variables.
I personally am not a fan of keeping race fuel for longer than 12 months. And that is in a situation where it is stored in a room temperature environment with no direct sunlight/heat cycling applied to it with it being open and closed a minimal amount, along with having the barrel be fairly full.
If stored properly, a brand new sealed barrel is easily good for two years.