Yeast infection a sign of pregnancy?

Has anyone had a yeast infection before a positive test? I am 8dpo and woke up with the worst yeast infection ever. I’ve only had them a handful of times before. I took a test that was negative but I’m hoping it’s just still too early.